Last modified: 2014-02-19 23:50:39 UTC
Steps to replicate: 1. Edit an article in VisualEditor (or start a new one) 2. Go to http://git-scm.com/download/linux 3. Copy the list, from "Debian/Ubuntu" to the end of the content in the white space. 4. Paste into the article in VE. Observed: "Uncaught TypeError: Cannot call method 'getComparableObjectForSerialization' of undefined" After that, interaction with the CE - mostly with link inspector and surface widgets produces errors or is unresponsive (Without console error) I got this when I tried to add a link: "Uncaught TypeError: Cannot call method 'getSurface' of null" " Chrome 32.0.1700.107 under Ubuntu 12.04.
WFM in standalone and MediaWiki. Can anyone else reproduce?
This is a bug in remapStoreIndexes, so this only happens when the target document already has some annotations, and the content being pasted has annotated elements (in Moriel's case, a <br> inside a <code>)
Committed while bugzilla was down: https://gerrit.wikimedia.org/r/#/c/113538/