Good morning,
I am having an issue with updating entries.
I get following exception:
TypeError: Cannot read properties of undefined (reading 'forEach')
at AjaxStore.processReturnedData (https://localhost:4200/main.js:414912:26)
at https://localhost:4200/main.js:414859:22
at ZoneDelegate.invoke (https://localhost:4200/polyfills.js:3080:158)
at Object.onInvoke (https://localhost:4200/main.js:76979:25)
at ZoneDelegate.invoke (https://localhost:4200/polyfills.js:3080:46)
at Zone.run (https://localhost:4200/polyfills.js:2819:37)
at https://localhost:4200/polyfills.js:4165:28
at ZoneDelegate.invokeTask (https://localhost:4200/polyfills.js:3113:171)
at Object.onInvokeTask (https://localhost:4200/main.js:76967:25)
at ZoneDelegate.invokeTask (https://localhost:4200/polyfills.js:3113:54)
But the structure of the response of the update method, matches the one of the read method.
So for the store we have defined:
...
responseDataProperty: 'result.data',
responseTotalProperty : 'result.totalLength'
...
I also attached an image of the stacktrace.
Do you spot anything that I am doing wrong here?