Skip to content

[5.x]: "This entry has been updated." notification appearing when opening nested entry slideouts #17176

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
mmikkel opened this issue Apr 24, 2025 · 2 comments
Labels

Comments

@mmikkel
Copy link
Contributor

mmikkel commented Apr 24, 2025

What happened?

Description

The "This entry has been updated." notification can sometimes be triggered by simply opening a nested entry's slideout – i.e. without the owner entry actually being changed (externally or otherwise).

This is locally on my machine (i.e. only me logged in). I've verified that I do not have the entry's edit page open in multiple tabs or browsers:

https://share.cleanshot.com/DScHtT1P

Steps to reproduce

The steps to reproduce are somewhat roundabout. FWIW, I'm pretty sure I've seen this occur in other circumstances as well, but this should at least consistently trigger the behavior:

  1. Create a Matrix field with a single entry type. Leave all the field settings to their defaults.
  2. Add the Matrix field to an entry type, create an entry using that type, and create a nested entry in the Matrix field. Save the owner entry after creating the nested entry.
  3. After saving the owner entry, double-click the nested entry card to open its slideout. Make some changes to the nested entry, and save it. Do not save the owner entry.
  4. Double-click to re-open the nested entry's slideout. At this point the "This entry has been updated." toast should appear.

Expected behavior

The "This entry has been updated." notification should only appear if an entry is actually changed.

Actual behavior

In certain situations, the notification will appear when simply opening a nested entry slideout.

Craft CMS version

5.7.3

PHP version

No response

Operating system and version

macOS 14.6.1, MS Edge

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 5.7.4 is out with that fix.

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

No branches or pull requests

2 participants