[Strapi v5 RC] Unique Slug UID Field Allows Duplicate Slugs Across Different Locales #20909
Labels
issue: bug
Issue reporting a bug
issue: discussion
A general discussion issue
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:content-manager
Source is core/content-manager package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
version: 5
Bug report
Required System information
Describe the bug
The unique slug
uid
field does not enforce uniqueness across different locales. Normally, creating a new entry with the same slug should not be allowed, but it currently permits creating entries with duplicate slugs if they are in different languages.Further improvement suggestion:
To enhance the user experience and data integrity, it would be beneficial to enforce the uniqueness of the slug
uid
field across all locales. This ensures that each slug remains unique globally, regardless of the language.Steps to reproduce the behavior
uid
field to the collection type.Expected behavior
The application should not allow the creation of a new entry with the same slug, even if the entries are in different languages. The slug should remain unique across all locales to prevent any potential conflicts or confusion.
Screenshots
N/A
Code snippets
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: