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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.6.0-dev, 4.6.0beta1
    • Labels:
      None
    • 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 11.2.0.1.0 - 64bit Production
      Browser (and version): Firefox 7.0

      Description

      Hi,

      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"?
       [PublishingSettings]
       # Enable/Disable the asynchronous publishing feature
       AsynchronousPublishing=enabled
       */ ?>
      

      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
      Logout

      
      

        Attachments

          Activity

            People

            • Assignee:
              gaw Geir Arne Waaler
              Reporter:
              pcardiga Paulo Cardiga
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: