Skip to content

disableSingleInstance mode : problem with angular.copy  #430

Closed
@simonaberry

Description

@simonaberry

Not sure if its a bug or a misunderstanding of how its meant to work:

  1. disable single instance mode
  2. Create a new parse object (or query one from the server) and populate properties
  3. Make a copy of the object (e.g. if you were editing the properties on a form and wanted the option to save/discard changes)
  4. Copy is empty ....

using parse-js-sdk 1.9.2 and angular 1.4.8

Here is a plunker illustrating https://plnkr.co/edit/UjWe9dl6D6Qkx9ihBSMC

background : we are using disableSingleInstance mode because we have a mobile app and a a web app that can interact with the same database rows (timesheet data) and were having problems with the js-sdk not always having the latest version of the data...

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions