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
I'm seeing an issue where errors on the filename field are not reported when an asset is being edited in a modal window.
When trying to change the filename to a filename that already exists in the same folder, we get an error message below the filename input:
But when editing the same asset in a modal window from an entry form, the validation error is not displayed after trying to save:
I've checked the response in the network request, it correctly includes a newLocation error and an errorSummary with an appropriate message. Only they're not getting displayed, all we get is the generic Couldn’t save asset. message on the bottom left.
Steps to reproduce
Open an asset in a modal window from an entry form.
Change the filename to a filename that's already used by another asset in the same folder and try to save.
Expected behavior
All validation messages should be displayed in a modal context.
Actual behavior
The validation error message is missing.
Craft CMS version
4.7.1
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
I'm seeing an issue where errors on the
filename
field are not reported when an asset is being edited in a modal window.When trying to change the filename to a filename that already exists in the same folder, we get an error message below the filename input:
But when editing the same asset in a modal window from an entry form, the validation error is not displayed after trying to save:
I've checked the response in the network request, it correctly includes a
newLocation
error and anerrorSummary
with an appropriate message. Only they're not getting displayed, all we get is the generic Couldn’t save asset. message on the bottom left.Steps to reproduce
Expected behavior
All validation messages should be displayed in a modal context.
Actual behavior
The validation error message is missing.
Craft CMS version
4.7.1
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: