Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5829

Index Out Of Bounds Error When Deleting Segments In Choose Audience Dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.3
    • 6.2
    • None

      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.

       

        Acceptance criteria

              sdemocko Šimon Demočko
              jnodarse Julian Nodarse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 5d 1h 28m
                    5d 1h 28m