Page MenuHomePhabricator

[Regression wmf.21] Switching editor throws error "Uncaught TypeError: Cannot read property 'destroy' of null"
Closed, ResolvedPublic1 Estimated Story Points

Description

Switch from VE to NWE or NWE to VE.

The following error appears in the console:

Uncaught TypeError: Cannot read property 'destroy' of null
  at VeInitMwDesktopArticleTarget.ve.init.mw.DesktopArticleTarget.surfaceReady

Event Timeline

Ryasmeen renamed this task from [Regression wmf.20] Switching editor throws error "Uncaught TypeError: Cannot read property 'destroy' of null" to [Regression wmf.21] Switching editor throws error "Uncaught TypeError: Cannot read property 'destroy' of null" .Apr 25 2017, 6:52 PM
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Jdforrester-WMF set the point value for this task to 1.

Change 350432 had a related patch set uploaded (by DLynch):
[mediawiki/extensions/VisualEditor@master] DesktopArticleTarget: only destroy notices tool if it exists

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

Change 350432 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] DesktopArticleTarget: only destroy notices tool if it exists

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