Last modified: 2013-04-19 18:42:27 UTC
Created attachment 11707 [details] diff about to delete existing text I've seen this a few times and I think this is the simplest reproduction. Start with a page that has a line of text "this text should be preserved but is not" In VE, position the cursor at the front of the line and move it two spaces down. Move the cursor back to the top of the page. Type a new line "totally different stuff" Save. Note the incorrect diff. The string "this text should be preserved but is not" has been deleted erroneously upon save. Repeat the operation but this time use strings that share words, like "this text should be preserved" and "this text is new" The behavior is the same, the old text is erroneously deleted, but the diff seems to have intertwined the two strings, keeping their common elements.
Created attachment 11708 [details] better view of intertwined strings
Created attachment 11709 [details] preview of page before save has correct text
Created attachment 11710 [details] saved page, existing text deleted erroneously
(In reply to comment #2) > Created attachment 11709 [details] > preview of page before save has correct text (In reply to comment #3) > Created attachment 11710 [details] > saved page, existing text deleted erroneously Ahm.... these are pictures of deer. Just sayin'.
The content of attachment 11710 [details] has been deleted by James Forrester <jforrester@wikimedia.org> without providing any reason. The token used to delete this attachment was generated at 2013-02-07 03:36:53 UTC.
The content of attachment 11709 [details] has been deleted by James Forrester <jforrester@wikimedia.org> who provided the following reason: Not intended to be on Bugzilla? The token used to delete this attachment was generated at 2013-02-07 03:38:14 UTC.
This looks to be a Parsoid bug (and is highly dependent on the rest of the page's content); will re-visit when Parsoid is updated before progressing.
Created attachment 11740 [details] text with string that will be deleted before save real screen shot from real computer
Created attachment 11741 [details] 'text should be preserved' is not real screen shot from real computer, my apologies
This is now fixed given the Parsoid update. Sorry for the delay! (Note that there is a distinct error that this has just thrown up, yayfuntimes.)