Page MenuHomePhabricator

[Regression pre-wmf.16] Edit summary is showing previous session's edit summary
Closed, ResolvedPublic1 Estimated Story Points

Description

Apparently https://gerrit.wikimedia.org/r/#/c/342083/ made the edit summary sticky not just while switching but also between separate edit sessions.
Steps to reproduce:

  1. Open VE
  2. Edit something
  3. On the save page dialog provide a summary
  4. Switch to NWE
  5. Switch back to VE
  6. Save the page.
  7. Now open VE again.
  8. Edit something
  9. Open Save dialog

Observe that the Edit Summary of previous session is still there although its a new edit session.

Another bad side effect of this is, during step 7 if you open VE through a section edit link, Edit Summary is now not showing the name of that section anymore.

Event Timeline

Ryasmeen renamed this task from [Regression ore-wmf.16] Edit summary is showing previous session's edit summary to [Regression pre-wmf.16] Edit summary is showing previous session's edit summary .Mar 9 2017, 10:56 PM

Change 342143 had a related patch set uploaded (by DLynch):
[mediawiki/extensions/VisualEditor] DesktopArticleTarget: Clear stored summary value after save completes

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

Jdforrester-WMF triaged this task as Medium 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.

Change 342143 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor] DesktopArticleTarget: Clear stored summary value after save completes

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

Ryasmeen reopened this task as Open.EditedMar 11 2017, 1:15 AM

Hmm there is still one case where it is reproducible, when I discard the Edit session instead of saving.

Steps are here:

  1. Open VE
  2. Edit something
  3. On the save page dialog provide a summary

4.Switch to NWE
5.Switch back to VE
6.Click on "Read" tab

  1. Discard Edit

8.Now open VE again.
9.Edit something
10.Open Save dialog

Observe that the Edit Summary of previous session is still there although its a new edit session.

Change 342641 had a related patch set uploaded (by DLynch):
[mediawiki/extensions/VisualEditor] DesktopArticleTarget: Discard edit summary when canceling an edit

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

Change 342641 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor] DesktopArticleTarget: Discard edit summary when canceling an edit

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

Hopefully now double-resolved. :-)