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

Clicking on a list item is producing console error and pop up information is not showing #263

Open
aparveen opened this issue Sep 16, 2021 · 3 comments

Comments

@aparveen
Copy link
Contributor

aparveen commented Sep 16, 2021

Clicking on a list item is producing console error and pop up information is not showing but clicking on a feature works fine.
Test App: https://sg-em-qaext.mapsqa.arcgis.com/apps/CrowdsourcePolling/index.html?appid=1de10aa871424c30ac91d13d5b8b9842
image

@aparveen
Copy link
Contributor Author

@CTLocalGovTeam could you please take a look at this issue? I see the same issue in production.

@sumitzarkar
Copy link
Contributor

@aparveen

  • We analyzed this issue and found that there are many features in the layer which are not having geometry in it and this is causing the issue.
  • Those features which are shown on the map have geometry and hence when you click any feature you are able to see its details.
  • If you turn on the filter by map switch then the list will show only those features which are intersecting the current extent and then you can observe list is also working as expected.
  • This seems to be a data issue, at most to avoid console errors we can add the conditions to check the selected feature has geometry or not.

Please let us know your thoughts on this

@aparveen
Copy link
Contributor Author

@sumitzarkar lets table that for now, next time when we make any changes to Polling, we will fix this. Thanks so much for looking into it.

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

2 participants