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

Details

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

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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: