tabSwitcher widget failing after upgrade to StudioPro 9.6.4

1
tabSwitcher widget stopped working/loading after upgrade to 9.6.4 this morning with the error stacktrack below. Any one has similar problem? Thanks in advance !!  Error while applying context Error: xxxxx_Overview.tabSwitcher1: Error while applying context Error: xxxxx_Overview.tabSwitcher1: Error while applying context TypeError: Cannot read properties of undefined (reading 'getChildren')     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:309214     at Object.t.collect (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:182625)     at Object.e.exports.applyContext (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:309112)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:308900     at o (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:182346)     at s (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:182111)     at A.<computed>.E._setLoadedAttr (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:446369)     at A.<computed>.E.set (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:145540)     at A.<computed>.E._createComponentTree (http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:369617)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637756113025234796:5:368023  
asked
4 answers
2

Please upvote my idea to incorporate my Tab Switcher widget into the Mendix default Tab Container:

Make Tab Switcher widget great again!

answered
1

Your best help will be gotten by sending an email to support@mendix.com, or post on support.mendix.com

answered
1

This is not a Mendix supported widget. I created it. Let me check and come back to you later this week.

EDIT 05-01-2022: It seems Mendix has upgraded the Tab Container widget from Dojo to React since Mendix 9.6.x. Some default Dojo methods, which the Tab Switcher uses, are not available anymore. This could turn out to be a tricky upgrade...

answered
1

Not an ideal workaround but – adding an empty HTMLSnippet inside the body of the first tab appears to be sufficient to force the TabContainer to render as a Dojo widget instead of React for compatibility.  Our TabSwitcher implementations started working again and no errors are being generated in the browser now.  We are currently on 9.14.1.

 

Credit goes to Eric Tieniber in his solution for a similar issue with the Grid Search widget:

https://forum.mendix.com/link/questions/112055

 

EDIT: Sadly, this only worked when testing our application while running locally in Studio Pro v9.14.1.  When we deployed it to a licensed server, it failed to function properly exhibiting the same behavior as previously reported.  I have no idea why it would make a difference and I have not had time to investigate it further.

answered