Details
-
Bug
-
Resolution: Fixed
-
Medium
-
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;