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.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2026-05-22 140633.png | 60.45 KB | sxthomas |
Issue fork single_content_sync-3591615
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
Comment #2
sxthomas commentedComment #5
fagoran into the same issue. added an MR which fixes it for me https://git.drupalcode.org/project/single_content_sync/-/merge_requests/192
Comment #7
nginex commentedThanks for the patch, this fix makes a lot of sense