crowdsource-polling
crowdsource-polling copied to clipboard
app fails to load when map contains reference to layer that no longer exists
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:
- Create a map that contains 2 hosted feature layers, one of which meets the requirements for a Polling layer.
- Save the map.
- Delete the AGOL item for the non-polling layer
- From the Content window, create a new CS Polling app.
- Configure the app to use the map created in step 1
- Configure the app to use the layer that was NOT deleted.
- Open the app and notice that the panel spins and fails to load.
Workaround: Use a valid map...