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

eZ Flow pool table not updated on node swap

    XMLWordPrintable

Details

    Description

      The "eZ Page swap workflow event" updates blocks so that they are attached to new nodes. However, it does not update block items in the ezm_pool table.

      If you have a block that contains Article A (node ID 8, object ID 8), then swap Article A with Article B (node ID 9, object ID 9), the ezm_pool entry will still have node_id = 8 and object_id = 8. Nothing will update the stored node ID and object ID values in the block except removing and re-adding the article. So the object ID is corrupt after a node swap. This results in Article A showing up in the back-end (because the back-end looks up the object ID) and Article B showing up in the front-end (because the front-end block template loops through $block.valid_nodes and thus looks up the node ID).

      Attachments

        Activity

          People

            Unassigned Unassigned
            3427b0be-ab4e-4614-8af1-1719f7f23944@accounts.ibexa.co Peter Keung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: