Page MenuHomePhabricator

[Regression wmf.21] Switching editor throws error "Uncaught TypeError: Cannot read property 'destroy' of null"
Closed, ResolvedPublic1 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 created this task.Apr 25 2017, 6:44 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 25 2017, 6:44 PM
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 triaged this task as Normal priority.Apr 25 2017, 7:05 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.
DLynch claimed this task.Apr 26 2017, 3:24 PM
DLynch added a subscriber: DLynch.

Side effect of c02c529.

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

Jdforrester-WMF closed this task as Resolved.Apr 26 2017, 6:18 PM
Jdforrester-WMF removed a project: Patch-For-Review.
Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptApr 26 2017, 6:18 PM