Last modified: 2014-05-02 00:36:02 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 T66034, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64034 - VisualEditor: [Regression wmf1] Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 339 is out of bounds is appearing in Mobile VE after reopening a page for the second time and hitting return twice
VisualEditor: [Regression wmf1] Uncaught Error: ve.dm.Document.getNodeFromOff...
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Mobile (Other open bugs)
unspecified
All All
: Highest normal
: VE-deploy-2014-04-24
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-16 22:35 UTC by Rummana Yasmeen
Modified: 2014-05-02 00:36 UTC (History)
6 users (show)

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


Attachments
Screenshot (68.73 KB, image/png)
2014-04-16 22:35 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-04-16 22:35:38 UTC
Created attachment 15123 [details]
Screenshot

Steps to reproduce:

1.Open a page with Mobile VE
2.Close the VE for it
3.Again reopen the page with VE
4.Go to the last and hit return twice

Observed Result:
The following error appears in the console:
Uncaught Error: ve.dm.Document.getNodeFromOffset(): offset 339 is out of bounds

See the screenshot attached

Test Environment:http://en.m.wikipedia.beta.wmflabs.org/
Page: http://en.m.wikipedia.beta.wmflabs.org/wiki/New_page_for_testing_the_special_characters_by_creating_a_new_page#editor/0
Comment 1 Gerrit Notification Bot 2014-04-17 00:32:58 UTC
Change 126881 had a related patch set uploaded by Catrope:
Destroy the VE target after saving

https://gerrit.wikimedia.org/r/126881
Comment 2 Gerrit Notification Bot 2014-04-17 00:52:42 UTC
Change 126881 merged by jenkins-bot:
Destroy the VE target after saving

https://gerrit.wikimedia.org/r/126881
Comment 3 Rummana Yasmeen 2014-04-17 18:47:53 UTC
I can still reproduce this issue on 
http://en.m.wikipedia.beta.wmflabs.org/wiki/User:RYasmeen_%28WMF%29#editor/0
Comment 4 Rummana Yasmeen 2014-04-22 00:38:29 UTC
Verified the fix on test2
Comment 5 Rummana Yasmeen 2014-05-02 00:36:02 UTC
verified the fix on production

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


Navigation
Links