What happened?
Description
Our authors are facing a similar problem as discussed over here. We're using a Matrix-based page builder with nested entries displayed as cards. This has been a huge upgrade for authoring pages, but we've been running into an issue related to drafts. When authors create a draft on the page, they expect that any edits made to the page sections will be included in the memory of that draft. Instead, any edits made to the nested entries are auto-saved to the current version of the page.
https://github.com/user-attachments/assets/eef32195-f739-4080-b442-6b05b45aa81a
Steps to reproduce
- Create a draft on a page
- Edit a nested entry section
- Go to the current version of the page and check the edited section
- The edits made to the edited nested entry section are now applied to the current version of the page
Expected behavior
When creating a draft on a page, the nested entry content should be tied to that page draft. The revisions should not be auto-applied to the current version of the page until the page draft is applied.
Actual behavior
Edits made to nested entries while in a page draft are auto-applied to the current version of the page. Especially on a page that exclusively uses a page builder with nested entries, this makes the concept of a page draft non-functional.
Craft CMS version
5.4.7.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
Our authors are facing a similar problem as discussed over here. We're using a Matrix-based page builder with nested entries displayed as cards. This has been a huge upgrade for authoring pages, but we've been running into an issue related to drafts. When authors create a draft on the page, they expect that any edits made to the page sections will be included in the memory of that draft. Instead, any edits made to the nested entries are auto-saved to the current version of the page.
https://github.com/user-attachments/assets/eef32195-f739-4080-b442-6b05b45aa81a
Steps to reproduce
Expected behavior
When creating a draft on a page, the nested entry content should be tied to that page draft. The revisions should not be auto-applied to the current version of the page until the page draft is applied.
Actual behavior
Edits made to nested entries while in a page draft are auto-applied to the current version of the page. Especially on a page that exclusively uses a page builder with nested entries, this makes the concept of a page draft non-functional.
Craft CMS version
5.4.7.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions