New category name with a number in it returns "slug is invalid" but category is created anyway

Try to create a category with a name like this:

group 1 category

It should return an error message:

Slug is invalid

However, the category was still created, with the slug group-1-category, so it must not have been invalid after all. Editing it and changing the name (not the slug) will also throw the error, but still apply the change.

إعجاب واحد (1)

Something for your list @techapj?

إعجاب واحد (1)

Fixed via

https://github.com/discourse/discourse/commit/bfd21461dfd5881c6e9cad087bca7de1e30de94b

5 إعجابات