Results 1 to 4 of 4

Thread: HasMany Array not being inherited

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    14
    Answers
    1

    Default HasMany Array not being inherited

    Extending a model which has a hasMany array, appears to not bubble up into the extending class. Is anyone else seeing this issue?

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    14
    Answers
    1

    Default Update: HasMany is being inherited but the auto generated getters not containing data

    So as a follow up to the initial issue: "HasMany array not being inherited".

    The HasMany array is being inherited, but the auto generated getter for each hasMany array item is returning a store without data in it.

  3. #3

    Default

    Hello, I found the same problem in some case... however, not able to determine why sometimes it happen and sometimes not...

    But clearly, there is sometimes a "break" in the inheritance process for hasMany associations...

  4. #4
    Sencha User mcelotti's Avatar
    Join Date
    Nov 2013
    Posts
    82
    Answers
    1

    Default

    Yes, I'm having the same problem and managed to fix it in constructor ( this.associations = this.superclass.associations; )

Tags for this Thread

Posting Permissions

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