It seems it is possible to create empty posts (happened me on replying to an user on SourceForge). Is there a special reason for this? If there is none maybe this should not be allowed.
Validation is enabled for replies .. But empty blog post creation is allowed. And also I noticed that replies can be edited with empty content Do we need to add validation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some people could potentialy want to create blog post, ticket etc with just the title - seems rare but possible to me.
New discussion threads and comments on existing threads should require content I think. Editing should allow empty content, though, so someone can redact/remove what they said if they want to for some reason.
So right now client-side validation (required attribute) would be good to add for comments and new discussion threads, I think everything else is ok how it is, unless I've missed something or there are other suggestions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Validation is enabled for replies .. But empty blog post creation is allowed. And also I noticed that replies can be edited with empty content Do we need to add validation?
Some people could potentialy want to create blog post, ticket etc with just the title - seems rare but possible to me.
New discussion threads and comments on existing threads should require content I think. Editing should allow empty content, though, so someone can redact/remove what they said if they want to for some reason.
So right now client-side validation (
required
attribute) would be good to add for comments and new discussion threads, I think everything else is ok how it is, unless I've missed something or there are other suggestions.Yes.. agree with those points. Current validation looks good
Thanks