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

(before|after)_content_read not considered by content/view.php

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Medium Medium
    • None
    • 3.9.0, 3.9.1rc1
    • Misc
    • None

    Description

      If you enable content read workflow using either before_content_read of after_content_read in AvailableOperationList[] instead of content_read, the workflow will not be triggered. This is because of this test in content/view.php:

      if ( in_array( 'content_read', $operationList ) )
      {
      $useTriggers = true;
      }
      else
      {
      $useTriggers = false;
      }

      It should test for content_read or before_content_read of after_content_read instead.

      Attachments

        Activity

          People

            unknown unknown
            bd bd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: