Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

deleted records can not be added again #61

@zoul0813

Description

@zoul0813

I'm attempting to create a dictionary of values in a dataset, when I add a key to the dataset and synchronize everything works fine. If I delete that key by calling dataset.remove and synchronize everything works fine here too.

The problem is when I try to add that same key back in after it's been removed previously and synchronize. My local dataset shows the value, and when I call dataset.synchronize none of my callbacks are being fired ... but I can see the request in Chrome's network log, as well as in the Cognito Sync Event trigger that is being called.

I enabled logging on the sync manager, and during a successful sync (adding or removing the item for the first time), I get a sync successful message ... however, when trying to add the item back in and sync, the last message I get is Nothing updated remotely. Pushing local changes to remote.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions