Problem/Motivation

When two pages are swapped, a revision is not being saved on the affected nodes.

Steps to reproduce

Configure a swap, run it, and confirm that a new revision is not appended to the list of node revision in the affected node's revision interface (/node/[node:id]/revisions).

Proposed resolution

We are not saving nodes to prevent problems with path aliases being automatically updated. It might be necessary to create new revisions outside of the node saving flow.

Remaining tasks

--

User interface changes

--

API changes

--

Data model changes

Issue fork page_swap-3592847

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mabho created an issue. See original summary.

mabho’s picture

Title: New revisions not being saved when page is swapped » New revision is not being saved when a page is swapped
mabho’s picture

Title: New revision is not being saved when a page is swapped » Save a new revision when the page is swapped

  • mabho committed ff1b61e2 on 1.0.x
    Resolve #3592847 "Save new revision"
    
mabho’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

mabho’s picture

Status: Fixed » Closed (fixed)