Results 1 to 2 of 2

Thread: Calculation fields in child model does not work if parent model instance was created

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-14560 in 5.0.2.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2010
    Posts
    53

    Default Calculation fields in child model does not work if parent model instance was created

    Ext version tested:
    • Ext 5.0.1.1255
    Browser versions tested against:
    • Chrome 31,
    • IE 11
    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

  2. #2
    Sencha - Engineering israelroldan's Avatar
    Join Date
    Nov 2011
    Location
    The Netherlands
    Posts
    395

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •