[MGNLUI-5829] Index Out Of Bounds Error When Deleting Segments In Choose Audience Dialog Created: 17/Apr/20  Updated: 01/Sep/20  Resolved: 31/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: 6.2.3

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Šimon Demočko
Resolution: Fixed Votes: 0
Labels: 62-UI-2
Remaining Estimate: Not Specified
Time Spent: 5d 1h 28m
Original Estimate: Not Specified

Attachments: GIF File cannot-save-multi-select-field-after-remove-an-item.gif    
Issue Links:
Relates
relates to MGNLUI-5887 Corrupt indexing of linked content an... Closed
causality
duplicate
duplicates MGNLUI-6149 Exception when saving property as mul... Closed
supersession
is superseded by MGNLUI-6148 Multivalue properties do not store in... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Migrate apps to new UI framework
Sprint: UI FW 9
Story Points: 5

 Description   

An index out of bounds error appears when adding multiple segments to a page variant then deleting them on the Choose Audience dialog of a page variant.

This is reproducible on the demo:
1- create a page
2- create a variant for that page
3- click choose audience
4- add a segment
5- add a second segment
6- delete that second segment
7- click save
The error banner will show after clicking save.

Additional Observation: If you add two segments (without deleting one) and click save, then re-open the dialog and delete one then click save again, then the issue does not occur. This only occurs when you add and delete while still having the dialog open, before clicking save.

 



 Comments   
Comment by Šimon Demočko [ 28/Aug/20 ]

Wasn't yet merged

Generated at Mon Feb 12 09:30:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.