Designer 1.2.2-48 export with the new ExtJS 4.0.7 does not load in the browser
I updated to ExtJS 4.0.7 today, re-exported my project from Designer without any change (other than changing the path in the project settings from "/ext-4.0.2a/" to "/ext-4.0.7-gpl/") and when I try to load the page I receive
Uncaught TypeError: Cannot call method 'on' of null
No customization or adding of code whatsoever. Just screen interface design and export.
solved it. There were still problems with some characters in the "id" field for the buttons. (Extjs 4.1-pr1 also gave errors) . Designer should really check for some of the fields for valid characters.
What characters were you using in the id field of the buttons? I'm seeing similar behavior (i.e. getting an error when exporting the project with designer 1.2.2-48 but I can preview in designer), but I'm not using any special characters in my button id's.
In my case I'm finding that the method addManagedListener in ext-all-debug.js is failing on binding the load event for a second ajax store I have added to the project. It doesn't matter whether the autoLoad property is true or false, this error still occurs:
ext-all-debug.js: 13324 Uncaught TypeError: cannot call method 'on' of undefined
I found a work-around for the particular issue I was facing. Basically, in the store I was setting the userClassName and storeId properties, but to different values, and this is what was causing the issue. Once I set both of these properties to the same value the exported project loaded in the browser.
So this sounds more like an Ext 4 issue than a Designer issue?