Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84335 As a forms builder user, I'd like to remove an added field
  3. LPS-84991

[Bug] After deleting a duplicate element, the following deletion actions are removing the next two child's duplicates from this element

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:
    • Sprint:
      F&W Sprint 3, F&W Sprint 4

      Description

      Summary

      After deleting a duplicate element, the following deletion actions are removing the next two child's duplicates from this element.

      Requirements:

      Once the addition of elements is not ready yet on Migration to Metal-JS, the Forms containing an element, like a Text Field should be created using Alloy.

       
      Steps to Reproduce

      1. Create a Form containing an element, like a Text Field;
      2. Add 4 more fields by duplicating them from the last created (a total of 5 elements/fields should be in the page);
      3. Delete one of the duplicated fields (e.g.: choose the 3rd);
      4. Delete the next duplicated field (the next field to the deleted one).

      Actual Results

      After deleting a duplicate element, the following deletion actions are removing the next two child's duplicates from this element.

      Expected Results

      Delete action should only remove the desired element/field.

      Note: This behavior is happening for all the elements, such as Text Field, Grid, Date, etc.

      Additional info: https://issues.liferay.com/browse/LPS-84692

      Reproduced In

      Liferay portal CE Master, commit: 3ce12aa36ce29637932f66e760ebdd34d9119dd1

        Attachments

        1. ActualResult_Aug_31_LPS-84991.gif
          1.86 MB
          Alex Candido
        2. QA_Validation_Sep5-LPS84991.gif
          1.45 MB
          Alex Candido

          Activity

            People

            • Assignee:
              alex.candido Alex Candido
              Reporter:
              alex.candido Alex Candido
              Recent user:
              Brian Chan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                Master