Page MenuHomePhabricator

VisualEditor: Inserting Media fails when caret is not positioned after initialization
Closed, ResolvedPublic

Description

Original bug title:
VisualEditor: Inserting Media fails when caret is not positioned after initialization

And this is how to reproduce the issue:

Result:
Mozilla Firefox:

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?


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=64759

Details

Reference
bz64601

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:15 AM
bzimport set Reference to bz64601.
  • This bug has been marked as a duplicate of bug 64434 ***