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

Deleting a field name should not delete an option label (List fields, single, multiple and list)

    Details

    • Fix Priority:
      4
    • Sprint:
      App_Builder_7.3_9

      Description

       

      Steps to Reproduce

      1. Go to Control Panel > App Builder > Custom Objects;
      2. Add a Form View > Add a Single Selection field > Add only one option;
      3. Delete the field name - ISSUE 1, ISSUE 2 and ISSUE 3.

       

      Expected Result

      ISSUE 1: Deleting a field name should not make the deleted option become marked (like a predefined value);

      ISSUE 2: Deleting a field name should not delete an option label;

      ISSUE 3: After deleting a field name, it should be automatically regenerated according to the existing label (if it exists) or with a default value "Option<n>" (if the label is empty) when moving the focus to another place at Form View builder;

       

      Actual Result

      ISSUE 1: Deleting a field name is making the deleted option become marked (like a predefined value);

      ISSUE 2: Deleting a field is deleting the option label;

      ISSUE 3: After deleting a field name, it is not being automatically regenerated according to the existing label (if it exists) or with a default value "Option<n>" (if the label is empty) when moving the focus to another place at Form View builder;

      Reproduced In

      master: 0dc6fe55a010b6039ff2b897ccd3925406364c84

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              alex.candido Alex Candido
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 7 weeks, 1 day ago

                  Packages

                  Version Package
                  7.3.10 DXP GA1
                  Master