Last modified: 2014-04-11 00:58: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 T65154, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63154 - VisualEditor: [Regression pre-wmf21] Uncaught Error: Unbalanced set of replace operations found (+ more) errors when trying to change bullet list to numbered list
VisualEditor: [Regression pre-wmf21] Uncaught Error: Unbalanced set of replac...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-04-03
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 23:24 UTC by Rummana Yasmeen
Modified: 2014-04-11 00:58 UTC (History)
5 users (show)

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


Attachments
Screenshot (184.43 KB, image/png)
2014-03-26 23:24 UTC, Rummana Yasmeen
Details
snowman!! (45.77 KB, image/png)
2014-04-01 22:29 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-03-26 23:24:50 UTC
Created attachment 14928 [details]
Screenshot

Steps to reproduce:

1.Create a page with VE
2.Add a bullet list
3.Add few items
4.Now change the list to numbered list
5.The cursor gets shifted to the start of the document
6.Now type something

Observed Result:
Everything starts to behave weirdly .It starts to add text everywhere at the beginning of the page.The list disappears.

See the screenshot attached.

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5 
Page:https://test2.wikipedia.org/w/index.php?title=Checkcursorbullet&veaction=edit
Comment 1 Rummana Yasmeen 2014-03-26 23:26:56 UTC
The errors that appears in the console are:
Uncaught Error: Unbalanced set of replace operations found
Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 26 is out of bounds
Comment 2 Rummana Yasmeen 2014-04-01 22:29:23 UTC
Also, got the following error one time and the snowman while typing after changing the bullet list to numbered list:
Uncaught Error: Invalid retain length, cannot retain backwards:-1
Comment 3 Rummana Yasmeen 2014-04-01 22:29:44 UTC
Created attachment 14999 [details]
snowman!!
Comment 4 Gerrit Notification Bot 2014-04-03 00:03:22 UTC
Change 123488 had a related patch set uploaded by Catrope:
Restore selection after ListAction too

https://gerrit.wikimedia.org/r/123488
Comment 5 Gerrit Notification Bot 2014-04-03 00:05:27 UTC
Change 123488 merged by jenkins-bot:
Restore selection after ListAction too

https://gerrit.wikimedia.org/r/123488
Comment 6 Rummana Yasmeen 2014-04-03 17:48:05 UTC
Verified the fix on Betalabs
Comment 7 Rummana Yasmeen 2014-04-08 20:58:40 UTC
Verified the fix on mediawiki.org
Comment 8 Rummana Yasmeen 2014-04-11 00:58:13 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