Closed allisonmuise closed 7 years ago
@CTLocalGovTeam I can still reproduce this issue, but it does require following the repro steps above exactly. The issue appears because of the level of security, I think.
Here is a repro app that you should be able to reach: https://utility.arcgis.com/usrsvcs/servers/21ab907cdc5d4760a66593e6538e9bc9/rest/services/test/FeatureServer/0/1/attachments/1
In FireFox, I can click on the thumbnail and get the full image. In IE11 I cannot.
@CTLocalGovTeam Could you please summarize the information you've found so far on this issue?
@allisonmuise
We are able to reproduce the issue. This is related to how the request's are handle.
When application request's the thumbnail of an attachment, the 'Referer' parameter is set to application URL.
However, when we click on image thumbnail to see the actual image, 'Referer' parameter is not present in the request. This is because we are doing window.open to see the image.
'Referer' is nothing but the reference of browser page.
@allisonmuise
As discussed, the only option to see the images in IE is to create a dialog which will open inside the application. This is high LOE and we need to change the entire approach to show images in a dialog box.
This will also need a lot of testing as CSR application is supported across different screen sizes.
Thanks, @CTLocalGovTeam closing this issue as it is not something we can address within the framework of the app.
- Sign into ArcGIS Online.
- Select My Organization.
- Select EDIT SETTINGS.
- Choose the Security tab on left.
- Check on Allow access to the organization through HTTPS only.
- Select SAVE.
Create a new feature layerCreate a new referring feature layer and web map
Create Crowdsource Reporter
Limit referrer URL
Test in IE
- Open the Crowdsource Reporter app in IE.
- Open the app as a guest.
- Click the feature in the right panel.
- Click the attachment button.
- Click the thumbnail image.
- The error appears and the image is not shown.
Notes:- This issue is not reproducible in FireFox and Chrome.
Data:Salesforce Submitter: Nur Afifah Azhar
Salesforce Submit Date: 3/13/2017 9:02 AM
Salesforce Bug Type: Failure/Error
Salesforce Severity: Medium
Repro Data: (n/a)
Work Around: (n/a)
Product: ArcGIS Online
Functional Category: ArcGIS Online Application Templates
Client Platform: (n/a)
Version Found: N/A
Planned Version Fixed: (n/a)
Comment: (n/a)