Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG-000107645 In the ArcGIS Online Crowdsource Reporter app when the mobile display settings uses 'Show map first' and the app contains two or more web maps, submitting a report in mobile view shows the error 'Cannot read property 'clear' of null'. #337

Closed
allisonmuise opened this issue Nov 29, 2017 · 5 comments
Assignees
Milestone

Comments

@allisonmuise
Copy link
Contributor

Test data:
Crowdsource Reporter app - Crowdsource Reporter Map Issue
http://ess.maps.arcgis.com/home/item.html?id=b83697ea90464d4d81873d1d8bf8b960

Group - Crowdsource Reporter Map
http://ess.maps.arcgis.com/home/group.html?id=e4bb097da1ce4140a11667106b6adf0e

Web maps - 
Crime Reports - http://ess.maps.arcgis.com/home/item.html?id=7828b3fa9c88470e9d8b6d89a7513657
Traffic Reports - http://ess.maps.arcgis.com/home/item.html?id=a87d7846bc7f4746be319b4d1e06ee38


1. Configure the Crowdsource Reporter app template with two or more web maps (See test app)

2. Open the app in configure mode  > go to Reports tab > use setting for Mobile display settings > Show map first

3. Open the app in view mode on a phone mobile device (or open on desktop and reduce the window size to mobile view)

4. Proceed as Guest > select a Map > note that map appears, based on setting used > Submit a Report > Enter a value and select a location on the map > Report It

5. Error is received on submitting > 'Cannot read property 'clear' of null' > select OK on the error to continue.
Note: Although this error shows, the report is still able to submit as expected

This issue seems specific to the mobile view and is reproducible from phone devices, as well as from a desktop when reducing window size to mobile view. 

Issue does not occur when only using one web map in the application, as the map view never shows even if the setting is used. The view goes straight to the report form.
Salesforce ID: BUG-000107645
Salesforce Submitter: Cheryl Hagevik
Salesforce Submit Date: 8/28/2017 7:13 AM
Salesforce Bug Type: Failure/Error
Salesforce Severity: Medium
Repro Data: (n/a)
Work Around: Use the setting for Reports > Mobile display settings > Show list first, instead of Show map first.
Product: ArcGIS Online
Functional Category: ArcGIS Online Application Templates
Client Platform: (n/a)
Version Found: 5.2
Planned Version Fixed: (n/a)
Comment: (n/a)
@CTLocalGovTeam
Copy link
Contributor

@allisonmuise

We are not able to access the above application link. We tried reproducing the issue at our end, however the "show map first" configuration was working as expected without any errors.
Could you please share the app link.

@allisonmuise
Copy link
Contributor Author

allisonmuise commented Jan 3, 2018

@CTLocalGovTeam I can still reproduce the issue. I have fixed the sharing on this app so it should now be accessible: https://ess.maps.arcgis.com/apps/CrowdsourceReporter/index.html?appid=b83697ea90464d4d81873d1d8bf8b960
Note that I encounter this message even though there is now only one map in the group.

@CTLocalGovTeam
Copy link
Contributor

@allisonmuise

Thank you for sharing the application link. We are able to reproduce the issue and we will keep you updated on the status of this issue.

@CTLocalGovTeam
Copy link
Contributor

@allisonmuise

We have found a fix for this issue. Currently it is in testing. We will delivered the fix tomorrow.

Thanks

CTLocalGovTeam added a commit to CTLocalGovTeam/crowdsource-reporter that referenced this issue Jan 24, 2018
Resolved issue : Esri#337 : BUG-000107645 In the ArcGIS Online Crowdsource
Reporter app when the mobile display settings uses 'Show map first' and
the app contains two or more web maps, submitting a report in mobile
view shows the error 'Cannot read property 'clear' of null'.
CTLocalGovTeam added a commit to CTLocalGovTeam/crowdsource-reporter that referenced this issue Jan 24, 2018
CTLocalGovTeam added a commit to CTLocalGovTeam/crowdsource-reporter that referenced this issue Jan 24, 2018
@allisonmuise
Copy link
Contributor Author

verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants