Page MenuHomePhabricator

Switching from 2010 WTE (e.g. edit conflict) to VE and then to 2017 WTE throws a JS fatal
Closed, ResolvedPublic1 Estimated Story Points

Description

Uncaught Error: Another textSelection API was already registered
    at jQuery.fn.init.$.fn.textSelection (<anonymous>:24:105)

Presumably we don't unload the 2010 editor's textSelection code?

Event Timeline

Change 408865 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Assume wpTextbox1 has an API registered already

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

We don't unload the 2010 editor at all, it doesn't have a concept of unloading...

We don't unload the 2010 editor at all, it doesn't have a concept of unloading...

Lovely.

Change 408865 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Assume wpTextbox1 has an API registered already

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

Change 408924 had a related patch set uploaded (by Jforrester; owner: Esanders):
[mediawiki/extensions/VisualEditor@wmf/1.31.0-wmf.20] Assume wpTextbox1 has an API registered already

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

Change 408924 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@wmf/1.31.0-wmf.20] Assume wpTextbox1 has an API registered already

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

Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to TR0: Interrupt on the VisualEditor board.