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
Recently one of our user had an issue while creating an article: it's a silly use case, because the user wanted to write two different articles with the same title.
Of course, this isn't possible, since the titles' uniquenesses are validated. But our user had a cunning idea: he added a point at the end of one of the title. That's when the problem appeared: we ended up with two different articles sharing the same slug... and the most recent being recorded as a draft.
As a consequence, when the users try to open the first article, they end up with a 404 error (because the first article found with this slug is a draft).
My question is: shouldn't the slugs be validated for uniqueness ? Is it already supposed to be the case ?
The text was updated successfully, but these errors were encountered:
Greetings !
Recently one of our user had an issue while creating an article: it's a silly use case, because the user wanted to write two different articles with the same title.
Of course, this isn't possible, since the titles' uniquenesses are validated. But our user had a cunning idea: he added a point at the end of one of the title. That's when the problem appeared: we ended up with two different articles sharing the same slug... and the most recent being recorded as a draft.
As a consequence, when the users try to open the first article, they end up with a 404 error (because the first article found with this slug is a draft).
My question is: shouldn't the slugs be validated for uniqueness ? Is it already supposed to be the case ?
The text was updated successfully, but these errors were encountered: