Page MenuHomePhabricator

Visual diffs get duplicated if you go back to editing from the "Review your changes" dialog and then return to that dialog without making any new changes
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Open a page in VE
  2. Change something
  3. Click on "Save changes"
  4. Click on "Review your changes"
  5. Click on "Visual"
  6. Click on "Resume editing"
  7. Don't change anything
  8. Repeat steps 3 through 5 (scroll down if necessary)

Actual results:
The diffs are duplicated depending on how many times you go back and forth without changing anything.

Expected results:
A single diff should have been shown.

Event Timeline

Srdjan renamed this task from Visual diff duplicates changes if you go back to editing from the "Review your changes" dialog and then return to that dialog without making any new changes to Visual diffs get duplicated if you go back to editing from the "Review your changes" dialog and then return to that dialog without making any new changes.Mar 31 2017, 8:43 AM

Change 346201 had a related patch set uploaded (by Esanders):
[VisualEditor/VisualEditor@master] Remove DiffElement DOM element when destroying

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

Change 346201 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Remove DiffElement DOM element when destroying

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

Change 346327 had a related patch set uploaded (by Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (19a6c389c)

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

Change 346327 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (19a6c389c)

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

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 TR6: Visual diffs on the VisualEditor board.