In our situation, we are trying to use super-map for one of our models. When the super-map finishes background fetch, it triggers baseconnection.updatedlis to update the list which is currently in the dom. However, our filter did some changes to the dom already and some elements in the list are no longer in the DOM by the time updatedlist tries to do the update. That will result in an error of 'undefined method push of null' thrown by parent.replacements.push(nodeList) in the can-view-nodelist.js.
I think it is because it tries to make changes to the element that is not present in DOM anymore.
How often can you reproduce it?
Description:
In our situation, we are trying to use super-map for one of our models. When the super-map finishes background fetch, it triggers
baseconnection.updatedlis
to update the list which is currently in the dom. However, our filter did some changes to the dom already and some elements in the list are no longer in the DOM by the timeupdatedlist
tries to do the update. That will result in an error of 'undefined method push of null' thrown byparent.replacements.push(nodeList)
in thecan-view-nodelist.js
.I think it is because it tries to make changes to the element that is not present in DOM anymore.
Environment: