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개의 좋아요