DEPRECATED: store.caller argument of mx.data.action will be removed in version 8.0

0
We see in the log this warning: DEPRECATED: store.caller argument of mx.data.action will be removed in version 8.0 The originating page should be passed to mx.data.action as 'origin' instead. Anybody an idear where this is coming from. Is this from a widget? Regards, Ronald  
asked
2 answers
1

Hi Ronald

Yes, its coming from a widget

In old widget it is still uses caller. 

https://apidocs.mendix.com/5/client/mx.data.html#.action

This should be replaced by `origin: this.mxform`

https://apidocs.mendix.com/8/client/mx.data.html#.action

To find you widget, open de browser development tools:

https://stackoverflow.com/questions/37685351/chrome-devtools-search-all-javascript-files-in-website/37685472

Or search in de deployment/web folder of your project.

Cheers, Andries

 

answered
0

I found this in the relesae notes of 6.9:

In 6.8.0, we broke the old way of passing the originating page to mx.data.action (using the store.caller property). We fixed the backwards compatibility in this release,. However, we advise you to use mx.ui.action instead, which is simpler yet more advanced. For details on this new and easier way of passing an originating page, see the API documentation. (Tickets 44606, 44773) 

 

answered