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

(tc-508) (Oracle) Filtering hooks asynchronous publishing are failing in Oracle



    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.6.0-dev, 4.6.0beta1
    • Labels:
    • Environment:

      Operating System: RHEL 6.1
      PHP Version: (please be specific, like '4.4.3' or '5.1.5'): 5.3.3
      Database and version: Oracle Database 11g Enterprise Edition Release - 64bit Production
      Browser (and version): Firefox 7.0



      In Oracle, if we add an extended class to define a filtering hook, the eZ Publish breaks when we try to create an object. (being defined on the filtering class or not). The error is:

      Fatal error: eZ Publish did not finish its request
      The execution of eZ Publish was abruptly ended. Contact website owner with current url and what you did, and owner will be able to debug the issue further(by enabling 'display_errors' and optionally 'DebugOutput').
      • the var/log/error.log doesn't provide any error related to this
      • the debug doesn't provide any information related to this

      In attach, it's the filtering extension used.

      Steps to reproduce
      Create a ./settings/override/content.ini.append.php and add the following text
       <?php /* #?ini charset="utf8"?
       # Enable/Disable the asynchronous publishing feature
       */ ?>

      Login and create a new class
      Login to eZ Publish admin as admin
      Click on “Setup” tab on top menu
      Click on “Classes” link on left menu
      Click on “Content Structure” link on “class groups”
      Click on “New class” button
      Create a new class with the folloiwng data:
      Name: a_New_Class
      Identifier: a_new_class
      Object Name Pattern: name
      create a “Text line” attribute:
      Name: Name
      Identifier: name
      Click on “Ok” button

      Create one folder that won’t be asynchronous published
      Click on “Content Structure” tab on top menu
      Create a folder “News”
      After clickingh the “Send for Publishing” button, verify that the folder was immediately created

      Create one object of “a_New_Class” article that will be asynchronous published
      Click on “Content Structure” tab on top menu
      Click on “News” link
      Create one object of “a_New_Class” with the following data:
      Name: This is a test
      Click on “Send for publishing” button
      Verify that a message is presented referring that the article is waiting for being published
      Click on “Content structure” on top menu
      Verify the exists a link for “This is a test” object
      Click on “This is a test” link
      Verify that the information presented is for “This is a test” object





            gaw Geir Arne Waaler
            pcardiga Paulo Cardiga
            0 Vote for this issue
            0 Start watching this issue