Hi all,
I am receiving an error with the crowdsource reporter tool when clicking on the 'Submit a Report' button. The app hangs and throws this error in the console:
3.44:117 TypeError: Cannot read properties of undefined (reading 'type')
at Object.<anonymous> (geo-form.js:649:79)
at 3.44:65:207
at Object.forEach (3.44:73:69)
at Object.<anonymous> (geo-form.js:642:31)
at 3.44:65:207
at Object.some (3.44:71:343)
at Object._filterLayerFields (geo-form.js:631:23)
at Object.<anonymous> (geo-form.js:300:22)
at 3.44:65:207
at e (3.44:106:393) "TypeError: Cannot read properties of undefined (reading 'type')\n at Object.<anonymous> (https://XXXX.maps.arcgis.com/apps/CrowdsourceReporter/js/widgets/geo-form/geo-form.js:649:79)\ n at https://js.arcgis.com/3.44:65:207\n at Object.forEach (https://js.arcgis.com/3.44:73:69)\n at Object.<anonymous> (https://XXXX.maps.arcgis.com/apps/CrowdsourceReporter/js/widgets/geo-form/geo-form.js:642:31)\ n at https://js.arcgis.com/3.44:65:207\n at Object.some (https://js.arcgis.com/3.44:71:343)\n at Object._filterLayerFields (https://XXX.maps.arcgis.com/apps/CrowdsourceReporter/js/widgets/geo-form/geo-form.js:631:23)\ n at Object.<anonymous> (https://XXXX.maps.arcgis.com/apps/CrowdsourceReporter/js/widgets/geo-form/geo-form.js:300:22)\ n at https://js.arcgis.com/3.44:65:207\n at e (https://js.arcgis.com/3.44:106:393)"
(replaced my organization portal with Xs)
This is on AGOL version 2023.2
It was working recently, and today was the first day I noticed the error. I tried reverting recent changes I had made (removed layers from map, removed filters, etc.) but have had no luck.
The reporting layer is a point layer with two fields to fill out with attachments enabled. There are two hidden fields for voting and moderation.
Any help would be appreciated.
Thanks,
Andriy