You found a bug! We've classified it as
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
Ext JS Premium Member
ST2.1 b2: Model's mergeData doesn't address associations
Ext version tested:
- Not sure what the protocol for reporting bugs against beta releases is, but thought you guys might want to know. I have some nested 'hasMany' model associations defined which weren't refreshing even after deleting parent record. I believe mergeData function just looks at the fields and does nothing about associations currently
Thanks for the report! I have opened a bug in our bug tracker.
Has this been fixed? Because I'm using 2.1 final and looks like it doesn't:
I'm concerned this hasn't been fixed. This means that everytime somebody save a model, the returned data get merged but associations are not reloaded. It's a showstopper for me. Do somebody have a workaround?