Last modified: 2013-08-30 20:27:13 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 T52850, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50850 - VisualEditor: Inspecting image immediately after inserting it causes exception
VisualEditor: Inspecting image immediately after inserting it causes exception
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Trevor Parscal
:
: 51863 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-06 03:17 UTC by Roan Kattouw
Modified: 2013-08-30 20:27 UTC (History)
5 users (show)

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


Attachments

Description Roan Kattouw 2013-07-06 03:17:16 UTC
1. Put the cursor in the middle of a paragraph
2. Insert an image
3. The inserted image is now selected, and displays an inspector button
4. Click the inspector button
5. You get an empty image dialog and an exception because getFocusableNode() returned null

It seems this happens because the post-insertion selection in step 3 covers something like </p><img></img><p> rather than just the image.
Comment 1 John Mark Vandenberg 2013-07-24 00:11:37 UTC
*** Bug 51863 has been marked as a duplicate of this bug. ***
Comment 2 James Forrester 2013-08-30 20:27:13 UTC
This is now INVALID because we don't select the node after insertion any more (should we?).

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


Navigation
Links