Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24157

eZFlow Block names swapped when moving blocks in layout

    Details

      Description

      When swapping the position of two flow blocks after modifying their name (on the pagelayout edit), it is possible that the two block names will be wrong - that is, the block contents will swap but their names will remain in the previous position.

      Steps to reproduce:

      1. Create two different flow blocks on a page. Give Them a different Name each (Block A - Name A, Block B - Name B)
      2. Save the page
      3. Edit the page
      4. Change the Names of the Blocks ("Name A" -> "Name A2", "Name B" -> "Name B2")
      5. Click on the Arrow down on Block A to move it behind Block B, or vice-versa.
      6. The blocks are changed, but not their names.

      Expected result:

      Block B - Name B2
      Block A - Name A2

      Current result:

      Block B - Name A
      Block A - Name B

      Note:

      This behavior is not observed every time, but seems to occur with some consistency when blocks are moved while ezautosave is saving the new block name(s).

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - PRs: ezautosave https://github.com/ezsystems/ezautosave/pull/26 ezflow https://github.com/ezsystems/ezflow/pull/67
          Show
          Damien Pobel (Inactive) added a comment - Fixed in ezflow: master: http://github.com/ezsystems/ezflow/commit/cb7689f7ff47b3319cf9534852df7a92a72c6405 stable-5.3: http://github.com/ezsystems/ezflow/commit/6f45d738cce652aad4a9936a51df920d5ddacab6 Fixed in ezautosave: master: https://github.com/ezsystems/ezautosave/commit/2fb989f6d8d5488d6f68a986d23f4fa3f1e5fc5d stable-5.3: https://github.com/ezsystems/ezautosave/commit/a70fe05efe4f7a76b56e98175be58eb64ddd286f
          Hide
          Paulo Nunes (Inactive) added a comment -

          QA Approved

          Tested on 5.3 and master.
          Side note: Wasn't able to reproduce the issue, so sanities were executed.

          Show
          Paulo Nunes (Inactive) added a comment - QA Approved Tested on 5.3 and master. Side note: Wasn't able to reproduce the issue, so sanities were executed.

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao Inacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: