Putting a long title gave me "Title is invalid; try to be a little more descriptive" error


(Makoto Iguchi) #1

Putting a long topic title “Trying to put a loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong title” and pressing “Create Topic” button gave me an error “Title is invalid; try to be a little more descriptive”.
I was expecting to get “Title must be less than {{max}} characters long.” error that is defined in “error:title_too_long” in the client.en.yml file…

The issue reproduced on try.discourse.org.


(Robin Ward) #2

That’s not a bug. Your title is failing the “entropy” check because you’re using the same letters over and over.

If you had a lot of different characters in the string you’d get the too long error.


(Robin Ward) #3

Could not create a topic with a Japanese title