Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2012.2, 4.7.0-dev
-
None
Description
When sending a numeric ID which does not correspond to an object in the POST request for storing an object-relations datatype, a php fatal error happens.
The culprit is eZObjectRelationListType::appendObject():
$object = eZContentObject::fetch( $objectID );
$class = $object->attribute( 'content_class' );
it should check if the 1st line here returns a false...