Skip to content

Use cid until server returns "new" uniqe id for this model.  #180

@oak-tree

Description

@oak-tree

It seems that if model does not have an id then backbone.localStorage adapter generate new cid for it. But when the server returns a new id it takes over model.id and then this makes the adapter save the model twice. Any ideas how to make it play nice when waiting for id from server but still allow offline support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions