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

Cannot open Targeting block Settings after removing segment

    XMLWordPrintable

Details

    Description

      Cannot open Targeting block Settings after removing segment.

      Steps:

      1. Create Segment group.
      2. Create Segment in the group.
      3. Add Targeting block.
      4. Assign content item to the segment.
      5. Publish LP.
      6. Remove segment in admin.
      7. Edit LP.
      8. Try to open Targeting block Settings.

      Actual result: Settings are not opened, block disappears, console error occurs (also attached):

      POST http://ez5.lh/admin/page/block/request-configuration-form 404 (Not Found)
      TypeError: Cannot read property 'addEventListener' of null
          at PreviewBlock.attachConfigPopupEventHandlers (ezplatform-page-builder-parts-javascript-js.js:1831)
          at Wg (react-dom.production.min.js:67)
          at oj (react-dom.production.min.js:127)
          at Aj (react-dom.production.min.js:160)
          at unstable_runWithPriority (react.production.min.js:25)
          at Da (react-dom.production.min.js:60)
          at ab (react-dom.production.min.js:154)
          at Te (react-dom.production.min.js:146)
          at react-dom.production.min.js:61
          at unstable_runWithPriority (react.production.min.js:25)
      

      Expected result: Settings can be opened, rule for removed segment can be updated.

      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: