Closed gpoulin closed 9 years ago
And if the slug is left empty and there already is a page with a similar slug, an IntegrityError is raised:
IntegrityError: duplicate key value violates unique constraint "aldryn_blog_post_slug_key"
Fixed by 885e897a3a80bbed260b7b1ba9fca41035bc872e
@adrien-delhorme I've opened ticket #79 to track this bug. Thanks.
When a slug is provided during the creation of a post, the validity of the slug is not verify. For example, if the slug contain space or commas I'm getting:
In addition, if the slug is not provided and the title doesn't contain any valid character (Cyrillic/Chinese/Arab... title) the slug created is an empty string and the same bug occur.
I can try to provide a pull request, this weekend.