Skip to content

[5.x]: Matrix field entry edits don't update owner element revision history #16889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
daltonrooney opened this issue Mar 14, 2025 · 1 comment

Comments

@daltonrooney
Copy link

What happened?

Description

When editing a matrix field entry, the draft and revision behavior is inconsistent depending on the edit mode. From the slide-in panel, making an edit to a nested entry creates a revision point on the owner entry. This doesn't happen when editing directly on the nested entry.

In addition, nested entries don't appear to have their own revision history. This seems like it would be important if they're not saving their history back to the owner element.

Steps to reproduce

  1. Create an entry type that contains a matrix field using the default card view.

  2. Add an entry to the matrix field and save. Click the title of the new entry card to open in a new view. Make any edits and save.

  3. The browser navigates back to the owner entry, but no revision history has been added.

Expected behavior

Revision history is consistent between both edit modes.

Craft CMS version

5.6.11

PHP version

8.2

Operating system and version

No response

Database type and version

MySQL 8.0

Image driver and version

No response

Installed plugins and versions

No response

@brandonkelly
Copy link
Member

Thanks for posting! This was previously reported over at #16248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants