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

       Web browser: Google Chrome
            Bug ID: 44479
           Summary: VE nukes data on save
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 11707
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11707&action=edit
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.

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

Reply via email to