Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-14560
in
5.0.2.
-
Sencha Premium Member
Calculation fields in child model does not work if parent model instance was created
Ext version tested:
Browser versions tested against:
Description:
- I have a child model that is extended from a parent model which has some calculation fields (calculate config). If I create both parent and child model instances then child model's calculation fields does not work. But if I create only child model's instance it will work fine.
- I guess the problem is somewhere in Ext.data.Model.rankFields. This method forgets calculation fields for the child model.
Steps to reproduce the problem:
The result that was expected:
- Calculation field to work in child model
The result that occurs instead:
- Calculation fields doesn't work in child model
-
Thanks for the report! I have opened a bug in our bug tracker.