https://bugzilla.wikimedia.org/show_bug.cgi?id=42707

--- Comment #1 from Roan Kattouw <[email protected]> ---
Argh. I figured out why this happens.

* .splice() is called on the dm.ParagraphNode to remove the alien
* which calls .adjustLength() on the dm.ParagraphNode
* which emits an update event on the dm.ParagraphNode
* which causes .renderContents() to be called on the ce.ParagraphNode
* which attempts to rerender its ce.TextNode children
* one of which is now associated with a detached dm.TextNode
* which means it crashed when trying to get the data from the linear model

I'm not entirely sure what the solution should be. Perhaps ce.ContentBranchNode
shouldn't rerender for an update on the node itself, only on its children?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to