-
9 Jan 2013 6:00 AM #1
Answered: sencha cmd 3.0.0.250 build problems
Answered: sencha cmd 3.0.0.250 build problems
Hello all,
I have migrate do sencha cmd3, it seems more performant and final apps more responsive
I have however some problems after build
1. minimizing css remove custom created css (i.e. for new icons) and also loader waiter is no longer animated
2. including my models/stores/controllers; after build (sencha app build package) the final output is not working. With the following error on chrome console
- [COLOR=red !important]GET file:///Applications/MAMP/htdocs/SmartDemo/SmartCP/build/SmartCP/package/data/identifier/uuid.js?_dc=1357739837188 app.js:1[/COLOR]
any suggestion ?
thank you in advance for your help in this
Alex!!!
-
Best Answer Posted by johan__r
You need to include 'Ext.data.identifier.Uuid' into your requires statement :
requires: ['Ext.data.identifier.Uuid', 'Ext.data.proxy.LocalStorage']
-
10 Jan 2013 7:45 AM #2
After some investigation I discovered:
it seems I get this error only if I include identifier in my Model Class
the build is working with that line commentedCode:Ext.define('SC.model.config.uuser', { extend: 'Ext.data.Model', requires: 'Ext.data.proxy.LocalStorage', config: { identifier : 'uuid', fields: [ {name: 'iid', type: 'int'}, {name: 'uid', type: 'string'} ] } });
does anyone has suggestion for this behavior?Code:Ext.define('SC.model.config.uuser', { extend: 'Ext.data.Model', requires: 'Ext.data.proxy.LocalStorage', config: { //identifier : 'uuid', fields: [ {name: 'iid', type: 'int'}, {name: 'uid', type: 'string'} ] } });
thank you again for any info!
Alex
-
23 Jan 2013 12:13 AM #3
You need to include 'Ext.data.identifier.Uuid' into your requires statement :
requires: ['Ext.data.identifier.Uuid', 'Ext.data.proxy.LocalStorage']
-
23 Jan 2013 11:31 AM #4
tried and successfully built!
thank you
alex


Reply With Quote