Last modified: 2014-11-19 18:53:01 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 T74558, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72558 - VisualEditor: [Regression] “Uncaught Error: offset -1 out of bounds” when adding bullet/numbered list with link inspector open
VisualEditor: [Regression] “Uncaught Error: offset -1 out of bounds” when add...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-11-05 (1.25wmf7)
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-27 14:20 UTC by Ritu Swain
Modified: 2014-11-19 18:53 UTC (History)
8 users (show)

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


Attachments
screenshot of the console error (104.85 KB, image/png)
2014-10-27 14:20 UTC, Ritu Swain
Details

Description Ritu Swain 2014-10-27 14:20:52 UTC
Created attachment 16907 [details]
screenshot of the console error

Environment- test2,production,beta

1>In a blank page, open the link inspector,type in some text in the link input box and keep the inspector open.
2> While the inspector is open ,click on to add a bullet/numbered list.
3> JS  console error “Uncaught Error: offset -1 out of bounds” and the inspector remains open.See screenshot.

Clicking on Done or Remove does not close the inspector.
Comment 1 Gerrit Notification Bot 2014-11-03 22:58:47 UTC
Change 170855 had a related patch set uploaded by Catrope:
Protect against offset=-1 in insertContent()

https://gerrit.wikimedia.org/r/170855
Comment 2 Gerrit Notification Bot 2014-11-04 19:29:37 UTC
Change 170855 merged by jenkins-bot:
Protect against offset=-1 in insertContent()

https://gerrit.wikimedia.org/r/170855
Comment 3 etonkovidova 2014-11-06 00:03:32 UTC
Verified the fix in betalbs and test2.
Comment 4 etonkovidova 2014-11-19 18:53:01 UTC
Verified in production.

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


Navigation
Links