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

After changing some field properties and quickly click on back, they are not persisted.

    Details

      Description

      Description
      After changing some field properties and quickly click on back or click on anything that removes the focus from the sidebar, they are not persisted.

      Some field properties where the problem is happening: Required Field, Show Label, Repeatable, Field Type and My Numeric Type.

      The problem can also be noticed when removing field options on fields like Select from List, Single Selection, Multiple Selection and Grid.

      Places where this issue happens: Web Content > Structures, Documents and Media > Document Types or Metadata Sets.

      Steps to Reproduce

      1. Go to Content & Data > Web Content > Structures tab;
      2. Add a new Structure;
      3. Add a new field;
      4. Check "Required" toggle and quickly click on the builder.

      Expected Result
      The "Required" toggle should be checked.

      Actual Result
      The "Required" toggle is unchecked.

      Reproduced In
      master: 031d999993110005514c95a85ec9e279e0ae28d5

       Note 1: Some tests that failing on the CI:
      DESelectFromListField#CanDeleteOptions
      DENumericField#CanSetDecimalOrInteger
      DETextField#CanBeSingleOrMultipleLine
      DETextField#CanSetLabelToShownOrHidden
      DMColorField#SetColorFieldAsRequired

       Note 2: Commit that aggravated the issue:
      c327db9d2995c0e0dd0a6a4d27565ee5625a054c

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pt-bravo Product Team Bravo
              Reporter:
              thais.frota Thais Frota (Inactive)
              Participants of an Issue:
              Recent user:
              Diogo Santos
              Engineering Assignee:
              Matheus Almeida (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                28 weeks, 3 days ago

                  Packages

                  Version Package
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master