Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
prod/bigpicture/jiraserver/2020/09/22/8.0.0, prod/biggantt/jiraserver/2020/10/07/8.0.3, prod/biggantt/jiracloud/2021/04/14/14/40, prod/bigpicture/jiracloud/2021/04/14/14/40
-
None
-
No
-
Space
-
BigPicture, BigGantt
-
JIRA server, JIRA cloud
-
5
-
5
-
-
Sprint 2021/09, Sprint 2021/10, Sprint 2021/11
-
PI2021/4
-
Testing quality
-
1 day, 49 minutes, 11 seconds -
3 days, 2 hours, 42 minutes, 47 seconds -
3 days, 16 hours, 1 minute, 25 seconds -
5 days, 4 hours, 15 minutes, 45 seconds -
6 minutes, 26 seconds -
1 week, 5 days, 18 hours, 34 minutes, 58 seconds -
3 weeks, 1 day, 6 hours, 37 minutes, 3 seconds -
Description
Prerequisites:
N/A
Reproduction steps:
- Open Administration on Box Types tab.
- Go to Program Box type configuration page on the General, Basics tab.
- Click on the Parent Types select.
- Check if the Main is available to select on the dropdown list (it should not be, as it is already added to parent types for that Box Type).
- Type in "Main".
- Click on the result and add the new Main.
- Click on the select and type in "Main" again.
- Without choosing from the dropdown, click on the "X" of one of the selected Mains.
Actual result:
The sp-select allows to search for, and chose the same result twice, resulting in the following issues:
Step 5: The "Main" type shows up on the dropdown list, even though it is already added as a parent type.
Step 6: The "Main" type is added to the parent type for the second time.
Step 8: The "Main" type is cloned on the dropdown list.
Expected result:
The sp-select component does not allow to search and select results that are already selected, making it impossible to add the same parent type more than one time.
Workaround:
Even if two or more of the same parent type are added and saved, they disappear after save and refresh