Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3362

Empty segment group causes console error in Targeting block

    XMLWordPrintable

Details

    Description

      Empty segment group causes console error in Targeting block.

      Steps:

      1. Create an empty segment group.
      2. Create LP.
      3. Add Targeting block.
      4. Open Settings.
      5. Select the empty group.
      6. Check browser console.

      Actual result: Error occurs:

      Uncaught TypeError: Cannot read property 'id' of undefined
      

      Expected result: Empty groups are not displayed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michal.szoltysek@ibexa.co Michał Szołtysek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: