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

Details

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

    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.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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