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

can not delete repeatable nested element in WCM

    Details

      Description

      Repeated Nested repeatable field can not be deleted when editing a web content

      Steps to reproduce

      Create a nested WCM structure (root: repeatable separator, child: text)
      Create a template
      Create a content with two element (click on +) and try to delete one with the "-" button

      Experienced result
      Field can not be deleted
      Javascript error in Chrome console

      Hints
      aui-form-validation.js resetField method should return immediately if its parmeter is null
      OR
      ddm-fomr.js remove method should not call instance._removeFieldValidation(instance); for instances which is not validatable. In our case the instance is the remove-button.

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          21 kB
        2. Fixed70.PNG
          Fixed70.PNG
          36 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 16 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP18
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master