View Full Version : Problem with build version of app
I migrated the cmd tool from Cmd 250 to Cmd 258.
I did run: sencha app upgrade ../extjs-4.2.0
The app still work perfect.
Then started: sencha app build. The build ended with success with no errors.
But now the has problems. I see this error msg in Chrome:
Uncaught TypeError: Object [object Object] has no method 'isLocalRtl' all-classes.js:1
Does somebody know what the problem here is????
What is isLocalRtl???
4 Jan 2013, 11:27 AM
Same problem here ...
Sencha Cmd v188.8.131.528.
Upgrade app from ExtJs 4.1.2 to 4.2.0.
The application works perfect but when build the application then ends with the following error :
TypeError: 'undefined' is not a function (evaluating 'this.isLocalRtl()')
I had problem with Ext 4.2.0beta
I moved back to Ext 4.2.0. Problem gone.
17 Jan 2013, 3:38 AM
I'm also getting this problem. I'm using ExtJs 4.2.0 b285, and Sencha Cmd 3.0.2.
The isLocalRtl method is part of Ext.rtl.AbstractComponent (presumably part of the new Right-to-Left work); the error in question is coming from the definition of Ext.rtl.util.Floating, as packaged up into the all-classes.js file.
So the bug is that, for some reason, Ext.rtl.util.Floating is being packaged up into the all-classes.js file, but the other Ext.rtl classes (especially Ext.rtl.AbstractComponent) are not.
23 Jan 2013, 11:21 PM
Same Problem here:
Uncaught TypeError: Object [object Object] has no method 'isLocalRtl'
After reading the above post again (thanks!), I added "Ext.rtl.AbstractComponent" to requires in my app.js and the error disappeared. This is an acceptable workaround for the time being.
23 Jan 2013, 11:25 PM
As a work-around, you can add 'Ext.rtl.*' to the requires section of your application. This ensures that the packaging brings in all of the RTL classes.
I haven't found a way to prevent it needing the RTL classes in the first place.
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.