Results 1 to 3 of 3

Thread: IO and hasMany Association

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default IO and hasMany Association

    I have a two stores that are linked by a hasMany association. With out IO it works perfectly with the foreign key from one in the other. When I use IO with the same configuration I'm loosing the association.

    I'm using Architect and overriding both stores to work with IO and syncStore. I'm also removing the original proxy name.

    Any help would be appreciated, thanks.

    UPDATE:

    If I get the store in console it does show that there is an association, however it's using id's with 'ext-record' format not the IO syncstore id format. Also it's not saving the store to localstorage that has the belongsTo association.

  2. #2
    Sencha - Services Team
    Join Date
    Apr 2011
    Posts
    91
    Answers
    30
    Vote Rating
    6
      0  

    Default

    Hello,

    This is a limitation of the sync stores. It does not currently offer support for model relationships.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Good to know I'm not crazy. I read in a forum post that 'the sync store does the exact same thing as the normal store'. I really hope there will be support in the future. Thanks.

Posting Permissions

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