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
- Create a Form containing an element, like a Text Field;
- Add 4 more fields by duplicating them from the last created (a total of 5 elements/fields should be in the page);
- Delete one of the duplicated fields (e.g.: choose the 3rd);
- 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