Skip to content

Bug: Updating deleted items #357

@Atrue

Description

@Atrue

After removing the item from the list the item's node can still exist in the virtual domPool element so its component isn't destroyed and can be updated by Ember.

This behavior isn't working for computed fields on the ember models. Ember rejects the error when trying to access the computed property on the destroyed object if it hasn't been consumed before.

Assertion Failed: Attempted to access the computed `computedProperty` on a destroyed object, which is not allowed.

Expected behavior: if the item is removed from the items list, this node shouldn't be updated or should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions