Skip to content

Ember.trySet() throws 'Assertion Failed: calling set on destroyed object' #12356

@XrXr

Description

@XrXr

From the documentation:

Error-tolerant form of Ember.set. Will not blow up if any part of the chain is undefined, null, or destroyed.

1.13.10:
http://emberjs.jsbin.com/sufaji/edit?html,js,console

2.0.2:
http://emberjs.jsbin.com/yafacu/edit?html,js,console

Open up the console to see the assertion error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions