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

ezodf import fails when using content approval workflow

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request
    • extension/ezodf 2.2.4, extension/ezodf 2.3.1
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5')

      Affects all versions distributed with ezp4.6, 4.5, 4.4, 4.3...
      Database and version:
      Browser (and version):

    Description

      It fails with fatal error:

      Fatal error: Call to a member function attribute() on a non-object in /www/ezp460ee/extension/ezodf/classes/ezooimport.php on line 942
      Fatal error: eZ Publish did not finish its request
      

      on to this code:

       938             $mainNode = $object->attribute( 'main_node' );
       939             // Create object stop.
       940             $importResult['Object'] = $object;
       941             $importResult['MainNode'] = $mainNode;
       942             $importResult['URLAlias'] = $mainNode->attribute( 'url_alias' );
       943             $importResult['NodeName'] = $mainNode->attribute( 'name' );
       944             $importResult['ClassIdentifier'] = $importClassIdentifier;
      

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            2b274289-6c7c-4b95-a70d-ca6c4a846602@accounts.ibexa.co j h
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: