Synchronize event error on Image click

0
Hello, I have updated my project from Mx studio version 8.8 to 8.18.14 and realized our notification image button started giving error – on click event is Synchronize   An error occurred while executing an action of Notification.Snip_NotificationIPA.image1: Cannot read properties of undefined (reading 'upload') Error: An error occurred while executing an action of Notification.Snip_NotificationIPA.image1: Cannot read properties of undefined (reading 'upload')     at http://localhost:8083/mxclientsystem/mxui/mxui.js?637789710187192662:79:341302     at xe (http://localhost:8083/mxclientsystem/mxui/mxui.js?637789710187192662:34:6720)     at r (http://localhost:8083/mxclientsystem/mxui/mxui.js?637789710187192662:34:6616)     at y (http://localhost:8083/mxclientsystem/mxui/mxui.js?637789710187192662:39:149290)  
asked
2 answers
0

Please find the snippet and microflow below however – If I run the app from version 8.8 its works fine !

 

answered
0

Hi everyone,

We had a similar issue after updating one of our applications to Mendix 8.18.13 from 8.16. We had the following settings on a checkbox that is bound to a boolean attribute:

The setting “Auto-synchronize: Yes” produced the exact same stacktrace. Luckily, in our case setting this Auto-Synchronize to “No” does not have any impact on the required functionality of our application and gets rid of both the error message and the stacktrace.

 

UPDATE 22th Feb 2022:
Looks like my issue could have been resolved with the new release of Mendix 8.18.16, at least according to its release notes

“We fixed a bug with the Auto-synchronize option in online profiles that caused a crash when the action was used. (Ticket 138115)”

Perhaps updating to Mendix 8.18.16 will therefore also resolve your issue?

answered