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

            Bug ID: 71214
           Summary: Pasting in image caption with a repeated reference
                    causes VE to crash
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

I found this bug while trying to swap the captions of two images, but it can be
duplicated with just one image:

1. Paste this into a page and save:

Example text<ref name=Ref1>Ref 1</ref>
[[File:Example.jpg|thumb|Example text.<ref name=Ref1/>]]

2. Launch VE
3. Click the image and open the Media settings dialogue
4. Select all the caption text (Ctrl-A) and cut it out (Ctrl-X)
5. Apply changes
6. Reopen the Media settings dialogue
7. Paste the caption text back in (Ctrl-V)
8. Apply changes

VE will now hang on the Media settings dialogue.  The dialogue will not
complete and will not cancel.  It is completely impossible to carry on editing,
all the changes up to that point have to be discarded.

I am using FF32, Windows 7, Monobooks

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

Reply via email to