Item14391: Comment macro needs a way to suppress empty posts.

Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: minor
Applies To: Extension
Component: CommentPlugin
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
I do this all the time and have noticed others as well, don't notice where the focus is, hit enter, and post an empty comment into the Tasks web.

Add an option to the %COMMENT{ macro:
Name Description Default
noempty Suppress empty comments if enabled. off

The use of "noempty" is consistent with the other "no*" parameters, nopost, nonotify, noform.

-- GeorgeClark - 07 May 2017

We would also need a way to alter the default, Possibly COMMENTPLUGIN_NOEMPTY configuration variable?

-- GeorgeClark - 07 May 2017

Setting this to confirmed, though in looking at the code, it will be complex. Another option might be some way to set a template field as "required" to block empty comments.

-- GeorgeClark - 03 Jun 2017

ItemTemplate edit

Summary Comment macro needs a way to suppress empty posts.
ReportedBy GeorgeClark
Codebase 2.1.3
SVN Range
AppliesTo Extension
Component CommentPlugin
Priority Enhancement
CurrentState Confirmed
TargetRelease minor
ReleasedIn n/a
Topic revision: r2 - 03 Jun 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy