Hi,
I am working on a project and found something I cannot explain.
I am using MVC with an application setup. I'm on a mac and use Safari by default.
I have Ext.loader setup and when I load the page (index.html in the App directory)
I get:
after reloading (Command R or the refresh button in the address bar) I get the same multiple times. and then suddenly after multiple refreshes it works.....?!?!?!?!?PHP Code:
[Ext.Loader] Synchronously loading 'Affiliation.store.SearchCustomer'; consider adding Ext.require('Affiliation.store.SearchCustomer') above Ext.onReady
ext-all-debug.js:3719[Ext.Loader] Synchronously loading 'Affiliation.view.TelephoneNumberForm'; consider adding Ext.require('Affiliation.view.TelephoneNumberForm') above Ext.onReady
ext-all-debug.js:5477Cannot create an instance of unrecognized class name / alias: Affiliation.view.TelephoneNumberForm
ext-all-debug.js:5483
Object
ext-all-debug.js:5489console.trace()
Ext.apply.logext-all-debug.js:5489
Ext.Error.Ext.extend.statics.raiseext-all-debug.js:4790
Manager.Ext.ClassManager.instantiateext-all-debug.js:3729
(anonymous function)ext-all-debug.js:1371
(anonymous function)CustomerTab.js:82
ext-all-debug.js:4797Uncaught Ext.Error: Cannot create an instance of unrecognized class name / alias: Affiliation.view.TelephoneNumberForm
ext-all-debug.js:5477The following classes are not declared even if their files have been loaded: 'Affiliation.view.CustomerTab'. Please check the source code of their corresponding files for possible typos: 'app/view/CustomerTab.js'
ext-all-debug.js:5483
Object
ext-all-debug.js:5489console.trace()
Ext.apply.logext-all-debug.js:5489
Ext.Error.Ext.extend.statics.raiseext-all-debug.js:4790
Loader.Ext.Loader.onFileLoadedext-all-debug.js:4503
(anonymous function)ext-all-debug.js:1364
Loader.Ext.Loader.injectScriptElement.onLoadFnext-all-debug.js:4238
ext-all-debug.js:4797Uncaught Ext.Error: The following classes are not declared even if their files have been loaded: 'Affiliation.view.CustomerTab'. Please check the source code of their corresponding files for possible typos: 'app/view/CustomerTab.js'
I have tested with Chrome and get exactly the same.
If I use Firefox however I do not see this behavior.
This might be webkit related but it drive me nuts.
Does anyone see this?
Jash