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

eZContentObjectTreeNode::assignSectionToSubTree does not clear $eZContentObjectContentObjectCache

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.6.12, 3.7.10, 3.8.7, 3.9.0rc2
    • 3.6.11, 3.7.9, 3.8.3, 3.8.6, 3.9.0rc1
    • Misc
    • None
    • Version: 3.8.3
      PHP Version:
      Webserver:
      Database:

    Description

      The function eZContentObjectTreeNode::assignSectionToSubTree does not clear the global $eZContentObjectContentObjectCache variable. This can be very tricky.

      Suppose you assign another section of the published object's main node subtree in a pre-publish workflow event. Then the publish operation will still store the object again with it's old section id, because the object will come out of the cache in eZContentOperationCollection::setObjectStatusPublished.

      Attachments

        Activity

          People

            rl rl
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: