5 Feb 2012 9:58 AM #1
Association function doesn't get created for hasMany model
It was working for 4.0.7, but doesnt work in 4.1.0 b2
I wonder if I need to do some extra setting for that.
I have a Document model that hasMany of Attribute model with name: attributes
I deliver entire thing by one call and see that raw data contains 'attributes' node per each document but when I access 'record' I see that attributes() function does not exist.
5 Feb 2012 10:01 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
In my usages, I have had no issues with associations migrating to 4.1.0Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
5 Feb 2012 10:12 AM #3
Probably that was for me due to dynamic loading of classes. When I added model classes to Ext.require it started to work fine