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
Bug Description
When creating a new blog post the user/author can select a slug name that is already in use. Doing so will cause the latest blog post content to load with that slug/URL, effectively replacing the existing blog post.
To Reproduce
Steps to reproduce the behavior:
Sign in to Miniblog.Core
Click on 'New post'
Fill out all required fields, use "test" for slug
Click on 'Save'
Click on 'New Post'
Fill out required fields with different data than step 3, use "test" for slug, again
Click on 'Save'
Click on either blog post created in step 3 or 6 and the content from 6 will load
Expected behavior
Creation of a blog post with an already existing slug/URL should not be permitted. Potentially solvable by displaying an error message to the user/author stating that a page with that slug name already exists, or automatically handle it by appending an integer to the slug name, incrementing by one as needed.
Screenshots
Example screenshots use "my_amazing_blog_post" as the slug.
First new post using "my_amazing_blog_post" as the slug.
Second new post using "my_amazing_blog_post" as the slug.
The text was updated successfully, but these errors were encountered:
Bug Description
When creating a new blog post the user/author can select a slug name that is already in use. Doing so will cause the latest blog post content to load with that slug/URL, effectively replacing the existing blog post.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Creation of a blog post with an already existing slug/URL should not be permitted. Potentially solvable by displaying an error message to the user/author stating that a page with that slug name already exists, or automatically handle it by appending an integer to the slug name, incrementing by one as needed.
Screenshots
Example screenshots use "my_amazing_blog_post" as the slug.
First new post using "my_amazing_blog_post" as the slug.
Second new post using "my_amazing_blog_post" as the slug.
The text was updated successfully, but these errors were encountered: