Skip to content

Error throw during unload record from store, record is still visible in Inspector #1647

Open

Description

@gscoders2

DEBUG: Ember : 3.26.1
DEBUG: Ember Data : 3.26.0
Web browser: Firefox and Chrome

Error throw during unload record from store, record is still visible in Inspector

Reproduction:

let anyModel = this.store.createRecord('anyModel')

and then any of this method below gives error Uncaught (in promise) DOMException: The object could not be cloned. in console

anyModel.rollbackAttributes()
anyModel.unloadRecord()
this.store.unloadRecord(anyModel)

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions