#8134 Empty posts are allowed

unreleased
open
nobody
None
General
nobody
2018-10-06
2016-11-05
Sworddragon
No

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.

Discussion

  • 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?

     
  • Dave Brondsema

    Dave Brondsema - 2018-10-02

    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

     

Log in to post a comment.