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

app fails to load when map contains reference to layer that no longer exists #235

Open
allisonmuise opened this issue Apr 1, 2020 · 0 comments
Milestone

Comments

@allisonmuise
Copy link
Contributor

allisonmuise commented Apr 1, 2020

App throws a type error and fails to load the list of polling features when the app is configured to display a map that contains one or more layers which no longer exist. This behavior is seen even when the deleted layer is NOT configured as the polling layer.

Repro steps:

  1. Create a map that contains 2 hosted feature layers, one of which meets the requirements for a Polling layer.
  2. Save the map.
  3. Delete the AGOL item for the non-polling layer
  4. From the Content window, create a new CS Polling app.
  5. Configure the app to use the map created in step 1
  6. Configure the app to use the layer that was NOT deleted.
  7. Open the app and notice that the panel spins and fails to load.

Workaround: Use a valid map...

@allisonmuise allisonmuise added this to the Backlog milestone Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant