Reputation: 123
I upgraded from Sencha architect 4.2 beta to official 4.3.2 release by following these instructions How to upgrade Sencha Architect to 4.3.2. Now when I open my Modern projects I am getting the error 'Design view: framework error: cannot read property 'add' of undefined' in the log panel and the deign view of the panel is blank. Code shows OK. My Classic app opens and shows the design view just fine. Unfortunately our subscription has lapsed so I cannot raise a case with Sencha. Does anyone have any suggestions? What additional info can I provide?
Cmd and framework are both 7.6.
Its weird - once the app is open in the Architect one can eventually get it to display the design view by viewing code and then viewing design tab again. It might take several attempts at alternating between code and design and clicking on different parts of a panel. Once it displays properly it will continue to display OK till you close and open the architect again, and then you have to start all over with the clicking around.
Upvotes: 0
Views: 265
Reputation: 47
It could also be due to using the Data UI Builder as it creates add: function's and that conflicts with an internal overridden add function.
I've also found that is has no bearing on the whether the project works or not.
Upvotes: 0
Reputation: 23
Note I'm using ExtJS 7.3 modern
The cannot read property 'add' of undefined' is usualy an id issue. Make sure every component has an id set for it on the config panel. Though this error doesn't affect the overall stability of the app, you can save and build the application like normally.
Now for the clicking between code & design, there's not a solution I have found. It's an annoying bug for sure, but it's not a big deal.
Upvotes: 0