Has anyone else noticed this minimum character number mismatch?

(Justin Sane) #1

Currently, if you’re trying to start a message, there’s a popup telling you the post needs to be at least 10 characters long (which also asks whether you have tried the <3 button… for whatever reason?).
Proceed to type said 10 characters, then press send.
You’ll get a nice alert telling you “Body is too short (minimum is 20 characters)”

10 ≠ 20. Is this project open source? I’d like to contribute.

(Rafael dos Santos Silva) #2

Yes! Code is avaliable at GitHub - discourse/discourse: A platform for community discussion. Free, open, simple.

That sounds triggering multiple checks, we have min post length, min first post length, min private message post length, body min entropy, min topic title length, title min entropy and min private message title length.

(Jeff Atwood) #3

You can reproduce this on meta or try? What are the exact steps?

(Justin Sane) #4

Neither Meta nor try allow messages, it seems. So cannot replicate.

(Jeff Atwood) #5

Messages have lower character limits for title and post body, for sure. It is two different sets of site settings.

(Justin Sane) #6

I understand that, however it does have the inconsistency I describe (10 on popup vs 20 on callback)… at least in my current install —latest version.