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
There's no other issue that already describes my problem.
Describe the Bug
When Save as Copy is performed in the Item Page while a user does not have the Create permission or if there is a Unique value error for one of the fields there is no visual indicator to the user that an error has occurred; it can seem like the page has already saved, but it didn't due to the error.
(This issue does not occur for Required field validations, however.)
To Reproduce
Create a collection with a unique value field.
Make sure that the duplication settings for the collection includes the unique value field.
Create a new record for the collection.
Edit the new record (keeping the unique value field unchanged) without saving yet.
Use the alternate save option "Save As Copy".
Errors Shown
There is no error shown to the user but you can check the network log for the unique value validation error that should've been shown to the user.
What version of Directus are you using?
9.5.2
What version of Node.js are you using?
17.3.0
What database are you using?
Postgres 13
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying Directus?
Docker (local development) and Heroku (for Test, Prod)
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
When Save as Copy is performed in the Item Page while a user does not have the Create permission or if there is a Unique value error for one of the fields there is no visual indicator to the user that an error has occurred; it can seem like the page has already saved, but it didn't due to the error.
(This issue does not occur for Required field validations, however.)
To Reproduce
Errors Shown
There is no error shown to the user but you can check the network log for the unique value validation error that should've been shown to the user.
What version of Directus are you using?
9.5.2
What version of Node.js are you using?
17.3.0
What database are you using?
Postgres 13
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying Directus?
Docker (local development) and Heroku (for Test, Prod)
The text was updated successfully, but these errors were encountered: