Page MenuHomePhabricator

Switch from VE to wikitext edit mode refused when repeated with edits; onunloadhandler?
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Start editing a page using VE. Make some change.
  2. Hit 'Edit source' tab to switch to wikitext edit mode. Select 'Keep changes' in the prompt.
  3. Edit something in wikitext.
  4. Switch to VE by clicking the 'Edit' tab. Select 'Keep changes' in the prompt. Make some changes in VE.
  5. Try to switch to wikitext mode by clicking on the 'Edit source' tab.

Expected outcome: Same as in 2).

Actual outcome: 'Are you sure you want to leave this page' warning box is shown, and the switch to wikitext is denied.

Event Timeline

GWicke raised the priority of this task from to Needs Triage.
GWicke updated the task description. (Show Details)
GWicke added a project: VisualEditor.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 12 2015, 8:09 PM
GWicke renamed this task from Switch from VE to wikitext edit mode refused when repeated with edits: onunloadhandler? to Switch from VE to wikitext edit mode refused when repeated with edits; onunloadhandler?.Nov 12 2015, 8:09 PM
GWicke set Security to None.
Jdforrester-WMF triaged this task as Medium priority.Nov 17 2015, 6:54 PM

Wasn't this fixed in T117769? If so, please mark as dupe.

It's still reproducible on enwiki.

Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptMar 16 2017, 6:06 PM
Jdforrester-WMF changed the point value for this task from 1 to 0.Mar 20 2017, 3:20 PM
Jdforrester-WMF changed the point value for this task from 0 to 1.