Last modified: 2014-05-02 21:25:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64601 - VisualEditor: Inserting Media fails when caret is not positioned after initialization
VisualEditor: Inserting Media fails when caret is not positioned after initia...
Status: RESOLVED DUPLICATE of bug 64434
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-29 13:01 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-05-02 21:25 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2014-04-29 13:01:14 UTC
Original bug title:
VisualEditor: Inserting Media fails when caret is not positioned after initialization

And this is how to reproduce the issue:
* Go to https://www.mediawiki.org/wiki/Sandbox?veaction=edit
* Confirm the "This is our new tool ...."
* Reload the page
* Press "Insert"
* Press "Media" (dialog opens)
* Click one of the images.

Result:
Mozilla Firefox:
* POST https://www.mediawiki.org/w/api.php [HTTP/1.1 200 OK 281ms]
** http://pastebin.de/124264
* TypeError: splice is undefined load.php:153
** http://pastebin.de/124263
* Nothing happens except that the dialog is closed.
* Pressing "Insert" -> "Media" now does not open any dialog

Opera Next:
* Uncaught TypeError: Cannot read property 'apply' of undefined VM140:146
* Nothing happens except that the dialog is closed.
* Pressing "Insert" -> "Media" now does not open any dialog
* Stacktrace: http://pastebin.de/124262

--------------
Expected:
* Image inserted
* Being able to add further images to the page

--------------
Unrelated question:
* Why are you using FormData for this specific request?



--------------
Comment 1 James Forrester 2014-05-02 21:25:28 UTC

*** This bug has been marked as a duplicate of bug 64434 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links