laptop and a wrench

漏洞

If changes are made to a Story Map Journal application after panel images are saved when the application is private and then shared publicly, tokens are appended to the images when the application is public-facing, resulting in broken images after the tokens expire. 

上次发布: August 9, 2017 ArcGIS Online
漏洞 ID 编号 BUG-000104841
已提交May 1, 2017
上次修改时间September 8, 2021
适用范围ArcGIS Online
找到的版本5.1
服务器平台Windows
客户端平台7.0 64 Bit
Version Fixed5.2
状态Fixed

描述

Under some circumstances, images in the side panel of Story Map Journal applications stop displaying. The application operates as expected if the Story Map Journal is created and shared privately or to an ArcGIS Online organization / Portal for ArcGIS, when photos are added to the side panel. The application also operates as expected if shared publicly. However, if any edits are made to the application after being shared publicly, all images added to the app prior to being publicly shared become unavailable after two weeks. An outline and broken icon display instead of the actual image. If sharing settings are subsequently changed back to private (or to Org/Portal only), the images become available again, but any time it is shared publicly again, the images disappear.

原因

This issue is due to tokens that are appended to the image URL once edits on a publicly shared application have been saved. Tokens allow access to a specific item for a given period of time, which can range from a few seconds up to two weeks. In this specific scenario, a two-week token is appended to each individual image, which is why the issue appears to occur at a random time. The following bug has been logged. 

​BUG-000104841: If changes are made to a Story Map Journal application after panel images are saved when the application is private and then shared publicly, tokens are appended to the images when the application is public-facing, resulting in broken images after the tokens expire. 

解决办法

Use one or more of the following workarounds to resolve this issue.

  • Replace the images while Application is still public-facing.
  • Immediately share the application publicly before adding any photos to the Panel.
  • Remove <?token=[RandomGeneratedCode]> from the Javascript Object Notation (JSON) of the application via ArcGIS Online Assistant.
    Note:
    Usage of ArcGIS Online Assistant is not supported by Esri Support Services and is for advanced users only. Mistakes made when editing the JSON of an application can irrevocably break the application. Please create a backup copy of the JSON before editing. For these reasons, this workaround is not generally recommended.

This issue is expected to be resolved in the June 2017 release of ArcGIS Online, and at the end of 2017 for Portal for ArcGIS (version 10.6). In the June 2017 release, GitHub contains a downloadable Story Map template available for download that prevents this bug from happening in new stories.

重现步骤

漏洞 ID: BUG-000104841

软件:

  • ArcGIS Online

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

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