A duplicated entry can be saved even if a unique field shares the same value as the original one #20141
Labels
community
issue: bug
Issue reporting a bug
severity: high
If it breaks the basic use of the product
source: core:content-manager
Source is core/content-manager package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Bug report
Required System information
Describe the bug
When an entry is duplicated, it's still possible to save it even if a unique field have the same value as in the original one. However, if the value is changed, saved and that we write the identical value again, the error is displayed.
Steps to reproduce the behavior
Expected behavior
I'm supposed to see an error on the unique field an not being able to save.
Screenshots
CleanShot.2024-04-17.at.13.30.32.mp4
Additional context
Maybe is it linked to #20001 ?
The text was updated successfully, but these errors were encountered: