laptop and a wrench

漏洞

TocNodeContent.getImageUrl() returns null even TocNode.setAllExpanded is set to -1.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM011291
已提交August 28, 2007
上次修改时间April 2, 2025
适用范围No Product Found
找到的版本9.3 Daily
状态Non-Reproducible

附加信息

No Public Explanation

解决办法

After the toc expanded level is set to -1 (if is called programmatically in this case), all toc functionalities is needed to bereinitalized. The method webToc.setExpandLevel() does not generate the legend symbol.see the below modified calling method.//########################################### public void expandTOC(){ WebMap webMap = webContext.getWebMap(); WebContext webContext = webMap.getWebContext(); WebToc webToc = webContext.getWebToc(); webToc.setExpandLevel(-1); java.util.List<TocFunctionality> lc = webToc.getTocFunctionalities(); for (int i = 0; i < lc.size(); i++) { webToc.init(lc.get(i)); } findTocNode(webToc.getRootNodes()); return; }

重现步骤

漏洞 ID: NIM011291

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项