[MGNLFORUM-273] The messageEdit dialog in the forum app misses a ‘required=true’ property Created: 03/Sep/14  Updated: 15/Sep/14  Resolved: 09/Sep/14

Status: Closed
Project: Forum (closed)
Component/s: dialogs
Affects Version/s: 3.4.2
Fix Version/s: 3.3.5, 3.4.4

Type: Improvement Priority: Neutral
Reporter: Christian Ringele Assignee: Peili Liang
Resolution: Fixed Votes: 0
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty

 Description   

Customer feedback:
The messageEdit dialog in the forum app misses a ‘required=true’ property for the fields author, content and creationDate. If you leave the author and creationDate empty you cannot save the dialog (you get an error) so they really should be added. Content as well in my opinion because what is a thread message without a message?

In our version handler we have added them like this:

// add missing required properties to edit message dialog in forum app
		tasks.add(new SetPropertyTask(RepositoryConstants.CONFIG,
				  "/modules/forum/dialogs/messageEdit/form/tabs/tabMain/fields/author",
				  "required", "true"));
		tasks.add(new SetPropertyTask(RepositoryConstants.CONFIG,
				  "/modules/forum/dialogs/messageEdit/form/tabs/tabMain/fields/content",
				  "required", "true"));
		tasks.add(new SetPropertyTask(RepositoryConstants.CONFIG,
				  "/modules/forum/dialogs/messageEdit/form/tabs/tabMetadata/fields/creationDate",
				  "required", "true"));

Generated at Mon Feb 12 02:02:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.