May 03, 2018, 9:14 AM
Troubles after migration from 4.2.1 to 4.5.1
Hello,
today I tried to migrate our app to 4.5.1. The 4.2.1 run without a problem. After the migration a click to a tab doesn't work. I got this trace:
This is the code where the problem occurs:
What's missing. Or what is changed between 4.2.1 and 4.5.1.
today I tried to migrate our app to 4.5.1. The 4.2.1 run without a problem. After the migration a click to a tab doesn't work. I got this trace:
Uncaught TypeError: b.layout.setActiveItem is not a function
at ctor.setActiveTab (ext.axd?v=4.5.1:20)
at ctor.doActivateTab (ext.axd?v=4.5.1:20)
at ctor.onClick (ext.axd?v=4.5.1:20)
at ctor.fire (ext.axd?v=4.5.1:20)
at ctor.fire (ext.axd?v=4.5.1:20)
at ctor.publish (ext.axd?v=4.5.1:20)
at ctor.publishDelegatedDomEvent (ext.axd?v=4.5.1:20)
at ctor.doDelegatedEvent (ext.axd?v=4.5.1:20)
at ctor.onDelegatedEvent (ext.axd?v=4.5.1:20)
I've no idea what's happening. Looks like, that this happens inside Ext.js or Ext.net. I'm not so skilled in the deep of ext.net to understand what's happening. This is the code where the problem occurs:
...b.activeTab=a;b.layout.setActiveItem(a);a=b.activeTab=b.layout.getActiveItem()...
So b.layout is???? and this does not have setActiveItem() but at this point, I'm lost...What's missing. Or what is changed between 4.2.1 and 4.5.1.