crowdsource-polling icon indicating copy to clipboard operation
crowdsource-polling copied to clipboard

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

Open aparveen opened this issue 4 years ago • 3 comments

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 avatar Sep 16 '21 21:09 aparveen

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

aparveen avatar Sep 16 '21 21:09 aparveen

@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

sumitzarkar avatar Sep 17 '21 06:09 sumitzarkar

@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.

aparveen avatar Sep 17 '21 15:09 aparveen