-
1 Oct 2010 10:13 AM #1
[FIXED] 0.96 misses Ext.data.HasManyAssociation
[FIXED] 0.96 misses Ext.data.HasManyAssociation
If using hasMany in a Model with 0.96 ext-touch-debug-w-comments.js getting
which apparently is because it just isn't there.Code:line 7185 TypeError: Result of expression 'Ext.data.HasManyAssociation' [undefined] is not a constructor
-
1 Oct 2010 10:45 AM #2Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Hi touchy,
The builder file for Sencha Touch didn't get updated correctly for the last release so the association files weren't built in correctly. This is fixed for the next release but in the interim you'll need to include the 3 association files manually like this:
Sorry for the inconvenience on this one - it was my fault. I'm going to see if we can add some additional checks to the build process to guard against this kind of screwup in future.Code:<script type="text/javascript" src="touch/ext-touch-debug.js"></script> <script type="text/javascript" src="touch/src/data/Association.js"></script> <script type="text/javascript" src="touch/src/data/HasManyAssociation.js"></script> <script type="text/javascript" src="touch/src/data/BelongsToAssociation.js"></script>
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
1 Oct 2010 11:33 AM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
I checked again and those files didn't even make it into the release; we're going to put out an 0.97 release on Tuesday which will correctly include those files - sorry again for the inconvenience on this one.
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
11 Oct 2010 10:39 AM #4
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-1263] Ext.data.Proxy => Ext.data.DataProxy
By plalx in forum Ext 3.x: BugsReplies: 1Last Post: 13 Sep 2010, 4:18 PM -
[FIXED-596] Spinner field misses every second click in IE
By stephen.friedrich in forum Ext 3.x: BugsReplies: 1Last Post: 18 Feb 2010, 10:18 AM -
[2.0b1][CLOSED] Ext.data.Store.insert misses to update snapshot
By andrei.neculau in forum Ext 2.x: BugsReplies: 6Last Post: 22 Sep 2009, 11:15 PM -
[FIXED][3.0.0] GridView::processRows() misses the view's scope during Ext.each() call.
By MaximGB in forum Ext 3.x: BugsReplies: 2Last Post: 3 Aug 2009, 8:35 PM -
[FIXED] re-showing column misses header text
By boz in forum Ext GWT: Bugs (1.x)Replies: 1Last Post: 30 May 2008, 10:33 PM


Reply With Quote