Error after upgrading to Desktop Modeler 7.23.0

0
I’m not sure if this is a core problem or just something that needs to be fixed in the DataTables widget, but after upgrading to Desktop Modeler 7.23.0 from 7.22.2 I am getting this error when trying to use the search action in the DataTables widget: Trying to unsubscribe using an invalid subscription handle Error: Trying to unsubscribe using an invalid subscription handle at new t (http://localhost:8080/mxclientsystem/mxui/mxui.js?636855768487379877:20:19212) at t.Data.unsubscribe (http://localhost:8080/mxclientsystem/mxui/mxui.js?636855768487379877:79:28030) at http://localhost:8080/widgets/DataTables/widget/DataTables.js?636855768487379877:903:29 at Object.forEach (http://localhost:8080/mxclientsystem/mxui/mxui.js?636855768487379877:5:30384) at E.(anonymous function).O._resetRowObjectSubscriptions (http://localhost:8080/widgets/DataTables/widget/DataTables.js?636855768487379877:902:27) at E.(anonymous function).O._getData (http://localhost:8080/widgets/DataTables/widget/DataTables.js?636855768487379877:932:18) at jQuery.fn.init. (http://localhost:8080/mxclientsystem/mxui/mxui.js?636855768487379877:5:26619) at _fnBuildAjax (http://localhost:8080/widgets/DataTables/lib/jquery.dataTables.js?636855768487379877:3926:27) at _fnAjaxUpdate (http://localhost:8080/widgets/DataTables/lib/jquery.dataTables.js?636855768487379877:3951:4) at _fnDraw (http://localhost:8080/widgets/DataTables/lib/jquery.dataTables.js?636855768487379877:3414:40)  
asked
3 answers
1

It appears there is a know issue with 7.23.0 and 7.23.1 with widget subscriptions. I changed DataTables so the latest version works with 7.23.x.

 

The code with the issue is pretty old. I could find it in my geolocation widget and pivot table widget. But the Mendix GoogleMaps widget uses this code too. So I assume there will be many other widgets which are affected by the Mx7.23.x issue as well.

 

There is nothing wrong with using mx.data.unsubscribe in widget code however, Mx7.23 does not like it very much.

answered
1

Now that 7.23.2 has been released I’m pleased to say that the issue is fixed. Thank you for changing the DataTables widget too, but the good news is that other widgets should now be fine too even if they haven’t made the fix that you did.

I think it’s safe to say that for a number of reasons no-one should install 7.23.0 or 7.23.1!

Thanks for all your help on this.

answered
0

Did you try to clean your deployment directory before running? If it still persists file a support ticket with a test project.

Regards,

Ronald

 

answered