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

Fields saved without options show unclear messages

    Details

      Description

      Description
      Unclear messages for fields saved without options

      Steps to reproduce

      Bug 1

      1. Go to Content and Data > Forms > Add a new Form (also check element sets)
      2. Add a Grid Field
      3. Do not add any options (you'll see a row and a column by default named "Option")

      Expected Result

      A clear message saying "At least one option should be set for [label of that field]

      Actual Result

      Error: Please enter a valid form definition.


      Bug 2

      • Go to Content and Data > Forms > Add a new Form (also check element sets)
      • Add a Select from list (Also happens with Single and Multiple Selection)
      • Do not add any options

      Expected Result

      A clear message saying "At least one option should be set for [label of that field]

      Actual Result

      At least one option should be set for field Field75793228.
      it's not clear to the user what "Field75793228" is. In this case the label would be better for the user to identify what field he/she should add the options.

       

      Environment:
      Portal master
      8c6388b2ddd7a5cb16c9492347d7204b001438dd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cleyton.magalhaes Cleyton Magalhaes (Inactive)
              Reporter:
              cleyton.magalhaes Cleyton Magalhaes (Inactive)
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Carolina Barbosa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 27 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master