View Full Version : Association function doesn't get created for hasMany model

5 Feb 2012, 9:58 AM

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
In my usages, I have had no issues with associations migrating to 4.1.0

5 Feb 2012, 10:12 AM
Probably that was for me due to dynamic loading of classes. When I added model classes to Ext.require it started to work fine