26 Jun 2013 3:08 AM #11
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
26 Jun 2013 4:11 AM #12
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).
26 Jun 2013 6:04 AM #13
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!