1. #11
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Vote Rating
    1
    Answers
    1
    drindal is on a distinguished road

      0  

    Default


    yes my code ends with that:

    When you update a record, to you also get following lines in the console?

    INFO: SyncProxy.getUpdates: Get updates from CSV: b1-77114508-81, b2-77122703, b3-77120877, b5-77120001, b10-77617944, b13-77702078, b22-78305522, b25-77730414, b28-78305925, b30-78399869, b31-78403541, b32-78404113, b33-0

    INFO: SyncProxy.getUpdates: Dominated Replicas:


    the only thing is, that filling the processData array happens in a method in the model itself and the rest of the code is in the controller. But this shouldn't matter, i think.

    unfortunately the new code doesn't work

  2. #12
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Vote Rating
    1
    Answers
    1
    drindal is on a distinguished road

      0  

    Default


    So definitely the sync process works, when using set('field', data). The data is also present after doing a complete browser refresh and deleting the cache.

    I think, my problem is, when syncing an object (e.g array).

  3. #13
    Sencha User
    Join Date
    Apr 2012
    Location
    Linz, AT
    Posts
    31
    Vote Rating
    1
    Answers
    1
    drindal is on a distinguished road

      0  

    Default


    So once again.

    I've found a workaround for my array problem.

    I use an array of serialized objects, so they appear as string and not as object. Then the sync process is working!

Thread Participants: 2