PDA

View Full Version : [CLOSED] Script tag with incorrect src for override classes on models



thiagobc
7 Mar 2012, 3:04 PM
Maybe I'm just misusing the Loader, please tell me if I'm doing something wrong.

Classes' files are loaded with a src path like: app/model/Classname.js
But when I create an override, the src path is like: MyApp/model/override/Classname.js

Do I need to manually set the path when using override or is it a bug?

Thanks

aconran
7 Mar 2012, 3:53 PM
There was a bug in Sencha Touch 2 pre final release that had symptoms like this. Could you give us a few more details and a sample project file?

Thanks,

thiagobc
7 Mar 2012, 4:53 PM
Here's the problematic project http://cl.ly/243D3W1a151e2d3B0B2M

I removed all files but the problematic model. It has only 2 properties and an override. I probably created the project with the first beta of the Designer, not sure though.

I also created another project (with build 309) bug the error didn't occur.

I use MacOS 10.6.8 and I'm testing with Chrome 17.

Is there any other useful information I can give?

aconran
7 Mar 2012, 6:10 PM
The project preferences is not linking the production version of touch.

Change:
http://extjs.cachefly.net/touch/sencha-touch-designer-edition/builds/

To:
http://extjs.cachefly.net/touch/sencha-touch-2.0.0/

thiagobc
7 Mar 2012, 6:37 PM
Nice! Thanks, Aaron!