1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    14
    Vote Rating
    0
    joesinla is on a distinguished road

      0  

    Default Unanswered: IO and hasMany Association

    Unanswered: 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 - IO Dev Team
    Join Date
    Apr 2011
    Posts
    85
    Answers
    27
    Vote Rating
    5
    jason.cline is on a distinguished road

      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
    joesinla is on a distinguished road

      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.

Thread Participants: 1