Last modified: 2012-12-05 20:32:33 UTC
Try creating "some text <inlinealien>blah</inlinealien> more text" and select across the inline alien and delete. Uncaught TypeError: Cannot call method 'getDataFromNode' of undefined
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?
Fix in Gerrit change #37056.