Last modified: 2014-03-20 21:21:12 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 T64235, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62235 - VisualEditor: Uncaught TypeError: Cannot call method 'getChildren' of null appears while going to a newline after deleting an image
VisualEditor: Uncaught TypeError: Cannot call method 'getChildren' of null ap...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-03-13
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-04 23:01 UTC by Rummana Yasmeen
Modified: 2014-03-20 21:21 UTC (History)
6 users (show)

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


Attachments
Screenshot (185.28 KB, image/png)
2014-03-04 23:01 UTC, Rummana Yasmeen
Details

Description Rummana Yasmeen 2014-03-04 23:01:21 UTC
Created attachment 14738 [details]
Screenshot

Steps to reproduce:

1.Open a page with VE
2.Insert an image
3.Now select the image and delete it
4.Go to the next line by pressing enter

Observed Result:


The following error appears in the console:


Uncaught TypeError: Cannot call method 'getChildren' of null 
Uncaught TypeError: Cannot call method 'getChildren' of null load.php:269
ve.ce.Surface.handleEnter load.php:269
ve.ce.Surface.onDocumentKeyDown load.php:247
proxy load.php:10
ve.EventSequencer.onEvent load.php:21
(anonymous function) load.php:20
jQuery.event.dispatch load.php:45
elemData.handle.eventHandle

See the screenshot attached
Comment 1 Gerrit Notification Bot 2014-03-12 19:49:05 UTC
Change 118340 had a related patch set uploaded by Catrope:
Fix JS error when pressing Enter with selection across multiple paragrahps

https://gerrit.wikimedia.org/r/118340
Comment 2 Gerrit Notification Bot 2014-03-12 20:40:20 UTC
Change 118340 merged by jenkins-bot:
Fix JS error when pressing Enter with selection across multiple paragraphs

https://gerrit.wikimedia.org/r/118340
Comment 3 Rummana Yasmeen 2014-03-12 22:00:36 UTC
Verified the fix in betalabs:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=12thmarchchrome&veaction=edit
Comment 4 Rummana Yasmeen 2014-03-15 01:17:35 UTC
Verified the fix in test2:https://test2.wikipedia.org/w/index.php?title=User:RYasmeen_%28WMF%29/sandbox&veaction=edit
Comment 5 Rummana Yasmeen 2014-03-20 21:21:12 UTC
Verified the fix in production:https://en.wikipedia.org/wiki/User:RYasmeen_%28WMF%29/sandbox?veaction=edit

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


Navigation
Links