Uploaded image for project: 'Forum (closed)'
  1. Forum (closed)
  2. MGNLFORUM-273

The messageEdit dialog in the forum app misses a ‘required=true’ property

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.3.5, 3.4.4
    • 3.4.2
    • dialogs

      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"));
      

        Acceptance criteria

              peili.liang Peili Liang
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: