ember-table
ember-table copied to clipboard
Manipulating with columns leads to "Assertion Failed: Cannot create a new chain watcher for `<(unknown):ember1140>` after it has been destroyed."
In component I tried to render(or not) cell depending on isVisible value I got an error
"Assertion Failed: Cannot create a new chain watcher for <(unknown):ember1140> after it has been destroyed."
{{#h.row as |r|}}
{{#if r.columnValue.isVisible}}
{{#r.cell
as |column|
}}
{{#if column.headerComponent}}
{{#component
column.headerComponent
clickAction=(action (if column.headerComponentAction column.headerComponentAction 'headerClickAction') column.valuePath column.isSortable)
className=column.className
}}
{{column.name}}
{{/component}}
{{else}}
{{column.name}}
{{/if}}
{{/r.cell}}
{{/if}}
{{/h.row}}
{{#if r.columnValue.isVisible}}
{{#r.cell
onClick=tableClick
as |cell column row cellMeta columnMeta rowMeta|
}}
{{#if column.cellComponent}}
{{component column.cellComponent className=column.className}}
{{else}}
{{cell}}
{{/if}}
{{/r.cell}}
{{/if}}
Are your rows an ember-data hasMany? Could one of them have been unloaded before the error? There are some open issues with that in Ember Data right now. Might apply to peekAll recordArrays too
@bedrosenator When you have a chance, can you try upgrading to 2.0.0-beta.8 (or a newer release if applicable) and see if that fixes your issue?