-
Notifications
You must be signed in to change notification settings - Fork 684
Description
What happened?
Description
When using a Matrix field in the Table view and switching to previous revisions of the owner entry, the table view doesn't update to show the entries in that version. When restoring the entry, the table does then update to show the correct entries.
The issue isn't present when using the Matrix block view mode.
We've hit this behaviour whilst implementing our own nested elements and noticed this was also present in the Matrix field.
In our case we are working with something more along the lines of how Commerce handles nested elements but are hoping fixing this in Matrix fixes the issue for other nested element implementations.
Screen.Recording.2025-09-25.at.13.46.29.mov
Steps to reproduce
- Create and save a new entry
- Add one or more nested entries, and save
- Switch to a previous version of the parent entry
Expected behavior
When switching between revisions the nested element table correcly reflects the state at that revision, and the changes that would be applied.
Actual behavior
Nested element index shows no entries when switching between revisions making it hard to see exactly which changes would be applied.
Craft CMS version
5.8.17
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response