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

Block Order mixed up sometimes

    XMLWordPrintable

Details

    • [4.1] - Sprint 3

    Description

      When I edit a page in page builder mode and try to reorder the blocks, sometimes the order is mixed up after saving. We did some debugging and found a way to reproduce this:

      1. Create a Page with 3 blocks and publish it
      2. Edit the page again
      3. Drag the first block and drop it at the zone above it
      4. No reordering is seen (but the state already changed)
      5. Save the page
      6. The First block is now at the second position

      The cause is in the javascript, which does not check, if the nextBlock is the block being dragged (see Screenshot). See also attached video for more details regarding steps to reproduce.

      Attachments

        1. ez-drag-drop-issue.png
          ez-drag-drop-issue.png
          61 kB
        2. ezee-3372.mp4
          215 kB
        3. reproduced.mov
          3.38 MB

        Activity

          People

            Unassigned Unassigned
            9dcdb0dd-5caa-459b-93b0-1ce97332c3fa@accounts.ibexa.co Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: