Steps to reproduce bug:

  1. Create a new published node with with an alias (eg: "test/v1").
  2. Edit to create new revision with a different alias (eg: "test/v2")., set to draft.
  3. On the moderate options, publish the draft. Node alias is "test/v2" as expected.
  4. Revert to the previous revision that had the "test/v1" alias. The alias should revert to "test/v1", but it stays as "test/v2".

Comments

Arlina created an issue. See original summary.

arlina’s picture

It seems the issue was that the function workbench_path_revision_path_update was not fetching the latest "published" revision, according to workbench, so it updated the wrong revision on the workbench_path_revision table. Attached patch fixes this.

arlina’s picture

Status: Active » Needs review

Changing status to "needs review".