g.sidler
27 Jun 2012, 11:20 PM
Hi, I have developed an application that is in production use for about 9 months now and works very well. Recently, I upgraded it to ExtJS 4.1 without any major issues. I have now created a customized deploy version of the Ext JS library using the Sencha SDK Tools. When I run my application with the customized ExtJS library I observe an exception "Registering duplicate id":
Uncaught Ext.Error: Registering duplicate id "email_admin_TEAMUP_SETTINGS_GENERAL_SETTINGS_EDITOR_FORM1" with this manager app-all.js:6
The id shown in the exception message "email_admin_TEAMUP_SETTINGS_GENERAL_SETTINGS_EDITOR_FORM1" is the id of a text form field. So for some reason the same id seems to be used twice even though I don't see how or where. The really puzzling thing and the reason for my post is this: Why would this error only occur with the custom build of ExtJS and not when I load the entire ExtJS library? If this was a clear case of using the same ID twice I would expect to see this exception also with the full build of the ExtJS library. Both Firefox/Firebug and Chrome report this exception.
Does anyone have an idea how this behavior can be explained? How come the custom build of ExtJS behaves differently? Could there be anything missing in the custom build of ExtJS? If so, wouldn't there be an error about a mssing class? Any ideas on how to further debug this?
Thanks for any feedback
Gabe
Uncaught Ext.Error: Registering duplicate id "email_admin_TEAMUP_SETTINGS_GENERAL_SETTINGS_EDITOR_FORM1" with this manager app-all.js:6
The id shown in the exception message "email_admin_TEAMUP_SETTINGS_GENERAL_SETTINGS_EDITOR_FORM1" is the id of a text form field. So for some reason the same id seems to be used twice even though I don't see how or where. The really puzzling thing and the reason for my post is this: Why would this error only occur with the custom build of ExtJS and not when I load the entire ExtJS library? If this was a clear case of using the same ID twice I would expect to see this exception also with the full build of the ExtJS library. Both Firefox/Firebug and Chrome report this exception.
Does anyone have an idea how this behavior can be explained? How come the custom build of ExtJS behaves differently? Could there be anything missing in the custom build of ExtJS? If so, wouldn't there be an error about a mssing class? Any ideas on how to further debug this?
Thanks for any feedback
Gabe