Problem/Motivation

Currently with module we can export/Import newly created Canvas Content page. But on updating existing page fails with revision ID conflict. Error Message: "Update existing canvas_page entity revision while changing the revision ID is not supported."

Steps to reproduce

Create a canvas test page and export via the Export tab (/admin/content/pages) and pasting the YAML into /admin/content/import successfully creates the page on the target environment with the UUID.
Now make a small amend to the canvas page and follow the steps to export and then import to the target environment will give the Error: Update existing canvas_page entity revision while changing the revision ID is not supported.

Proposed resolution

Drupal core prevents setting revision IDs manually on content entities. SCS does not override this, so attempts to import YAML that contains a different revision_id will be ignored or cause errors.

CommentFileSizeAuthor
Screenshot 2026-05-22 140633.png60.45 KBsxthomas
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

sxthomas created an issue. See original summary.

sxthomas’s picture

Issue summary: View changes

fago made their first commit to this issue’s fork.

fago’s picture

Category: Support request » Bug report
Priority: Normal » Major
Status: Active » Needs review

ran into the same issue. added an MR which fixes it for me https://git.drupalcode.org/project/single_content_sync/-/merge_requests/192

nginex made their first commit to this issue’s fork.

nginex’s picture

Status: Needs review » Fixed

Thanks for the patch, this fix makes a lot of sense

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.