Last modified: 2014-10-09 20:14:23 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 T73187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71187 - VisualEditor: [Regression] When an image is the only item of the document , trying to delete it right after opening VE throws "Error: offset was inside a handlesOwnChildren node"
VisualEditor: [Regression] When an image is the only item of the document , t...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Low major
: VE-deploy-2014-10-02
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-23 18:45 UTC by Rummana Yasmeen
Modified: 2014-10-09 20:14 UTC (History)
7 users (show)

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


Attachments
Screenshot (248.94 KB, image/png)
2014-09-23 18:45 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-09-23 18:45:01 UTC
Created attachment 16561 [details]
Screenshot

Steps to reproduce:

1.Open a blank page with VE
2.Insert an image as the first item of the document
3.Save the page
4.Reopen the page
5.The image gets highlighted, now try to delete the image


Observed Result:
The following error appears in the console:
Uncaught Error: offset was inside a handlesOwnChildren node

See the screenshot attached.
Comment 1 Rummana Yasmeen 2014-09-23 18:47:28 UTC
It happens for reflist too.Though thats not something common to encounter to have reflist at the beginning of a page
Comment 2 Gerrit Notification Bot 2014-09-25 13:49:09 UTC
Change 162884 had a related patch set uploaded by Esanders:
Be more cautious about placing the cursor

https://gerrit.wikimedia.org/r/162884
Comment 3 Gerrit Notification Bot 2014-09-25 20:28:52 UTC
Change 162884 merged by jenkins-bot:
Be more cautious about placing the cursor

https://gerrit.wikimedia.org/r/162884
Comment 4 Rummana Yasmeen 2014-09-25 23:43:35 UTC
Verified the fix in Betalabs
Comment 5 Rummana Yasmeen 2014-10-03 21:09:30 UTC
Verified the fix in test2
Comment 6 Rummana Yasmeen 2014-10-09 20:14:23 UTC
Verified the fix in production

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


Navigation
Links