Page MenuHomePhabricator

VisualEditor: [Regression pre-wmf1] Uncaught TypeError: Cannot read property 'nextSibling' of undefined is appearing while trying to edit the next line after a saved edit in Mobile VE
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open any page with mobile VE
2.Add a text
3.Save the page
4.Reopen the page
5.Go to the next line of the text you added in step 2
6.Start typing something

Observed Result:
The following error appears in the console

Uncaught TypeError: Cannot read property 'nextSibling' of undefined

See the screenshot attached

Test Environment:http://en.m.wikipedia.beta.wmflabs.org/
Page:http://en.m.wikipedia.beta.wmflabs.org/wiki/0.4040571254571662?title=0.4040571254571662&campaign=random#editor/0


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz64032

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:12 AM
bzimport set Reference to bz64032.

Change 126881 had a related patch set uploaded by Catrope:
Destroy the VE target after saving

https://gerrit.wikimedia.org/r/126881

Change 126881 merged by jenkins-bot:
Destroy the VE target after saving

https://gerrit.wikimedia.org/r/126881

Change 127364 had a related patch set uploaded by Catrope:
Also destroy target when exiting without saving changes

https://gerrit.wikimedia.org/r/127364

Change 127364 merged by jenkins-bot:
Also destroy target when exiting without saving changes

https://gerrit.wikimedia.org/r/127364

Change 127380 had a related patch set uploaded by Jforrester:
Also destroy target when exiting without saving changes

https://gerrit.wikimedia.org/r/127380

Change 127380 merged by jenkins-bot:
Also destroy target when exiting without saving changes

https://gerrit.wikimedia.org/r/127380

Verified the fix on test2