Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70323

Announcement content is required for an entry but is optional visually

Details

    Description

      Issue
      Unable to add entries unless Content field is filled even though it is an option (i.e. it is not explicitly marked as required).

      Steps to reproduce

      1. Start DXP
      2. Place Announcements portlet on a page
      3. Click on Manage Entries tab
      4. Choose any scope to Distribution Scope
      5. Add Entry
      6. Enter Title like "Test"
      7. Save

      Actual result
      Unable to Add Entry unless Content field is filled.

      Expected result
      Either behavior is expected:

      • If Content is a required field, the required field mark should be present (asterisk).
      • The entry should be added because Content field is an option (i.e. not a requirement).

      Reproduced in
      ee-7.0.x (e5993a0ac5252525f04fe2c5b94c40e2d1bc7e43)
      Master (d20df8806b5a5b523e749e0afceac1a9f6d677cb) – behavior is slightly different. No asterisk mark for required field. Both Title and Content seem to be required in Master.

      Attachments

        1. unfix.png
          unfix.png
          148 kB
        2. new.png
          new.png
          173 kB
        3. fix.png
          fix.png
          98 kB

        Issue Links

          Activity

            People

              sylvia.luan Sylvia Luan
              spencer.woo Spencer Woo
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 41 weeks, 3 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP12
                  7.0.0 DXP SP2
                  7.0.3 CE GA4