You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracked the bug down to this change as part of #14436. Fixed by ensuring that the element editor’s canCreateDrafts setting is true before calling saveDraft() on it (260dce5).
Tested error summaries across multiple tabs and they still seem to be working, but @i-just maybe you have a better idea of what we need to watch out for with that change?
I just tested the solution against the problem it was originally for, and all still works as expected (and so does saving users in a slideout via shortcut).
What happened?
Description
Editing users in a slideout and saving with cmd+s triggers an error. Saving via the Save button works as expected.
Steps to reproduce
The error is “Element could not be duplicated because it doesn’t validate.”.
The actual element errors that trigger this are:
Expected behavior
Be able to change and save the user via a slideout using the cmd+s shortcut.
Actual behavior
Not able to save the user via a slideout using the cmd+s shortcut.
Craft CMS version
5.2.5
PHP version
8.1
Operating system and version
No response
Database type and version
mysql 8
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: