You found a bug! We've classified it as TOUCH-3381 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2007
    Posts
    55
    Vote Rating
    0
    mvarshavsky is on a distinguished road

      0  

    Default ST2.1 b2: Model's mergeData doesn't address associations

    ST2.1 b2: Model's mergeData doesn't address associations


    REQUIRED INFORMATION


    Ext version tested:
    • ST2.1 b2

    Description:
    • 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


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

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    Italy
    Posts
    84
    Vote Rating
    4
    Tegola is on a distinguished road

      0  

    Default


    Has this been fixed? Because I'm using 2.1 final and looks like it doesn't:
    http://www.sencha.com/forum/showthre...-with-mappings

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Location
    Italy
    Posts
    84
    Vote Rating
    4
    Tegola is on a distinguished road

      0  

    Default


    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?

Thread Participants: 2