Exception on Cancel changes OnClick event since Mendix 7.15.1

0
Our app is using the 'Cancel changes' OnClick event with the radio button 'Close page' set to 'Yes' for closing a page when the changes should not be saved, as shown in the following screenshot: This was working fine until Mendix 7.13.1. We are just over to Mendix 7.15.1, and now this is not working anymore, and the following log is written: Operator isNew not supported in expression isNew() Error: Operator isNew not supported in expression isNew()     at r.isNew (http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:46:124107)     at e.evaluate (http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:46:128753)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:46:128697     at Array.map (<anonymous>)     at e.evaluate (http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:46:128672)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:74:155761     at h (http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:74:155856)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:74:156144     at Array.forEach (<anonymous>)     at h (http://localhost:8080/mxclientsystem/mxui/mxui.js?636652804158438010:74:156117) It seems like a bug in the version 7.15.1 of Mendix Modeller, or did I do something wrong?
asked
1 answers
0

Tested this type of button configuration in 7.15.1 and this works as expected.

The issue seems to be caused by something else, do you have any events running on the entity that use the isNew() function, or associated entities?

If not then try to remove the button and add it again, as a simple test proofs that the button's default behavior with the mentioned settings works fine.

answered