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

Node swap does not update ezm_block table

    XMLWordPrintable

Details

    Description

      If you do a node swap, the node_id fields in the ezm_block table are not updated. This means that the eZ Flow cronjob will not properly clear the cache for (see eZFlowOperations::update) for the new node when content is updated (specifically when block items need to be rotated), and instead clears the cache for the old node.

      Steps to reproduce

      1. Create a new frontpage object with 1 manual block. Add a few items to that block.
      2. Create a second frontpage object with 1 manual block. Add a few items to that block.
      3. Swap the two frontpage object/nodes.
      4. Update only one frontpage (adding a new item to the block) and note how only the cache for the other frontpage gets cleared

      Attachments

        Activity

          People

            ls ls
            rc@ez.no rc@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: