Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.0.1
-
None
-
Operating System: any
PHP Version: 5.x
Database and version: any
Browser (and version):
Description
the import function doesn't write the relations with existing images
Suggested code:
// If image does not already exist, create it as an object
if ( !$contentObject ) {
[...]
} else {
$contentObjectID = $contentObject->attribute( 'id' );
$this->RelatedImageArray[] = array( "ID" => $contentObjectID,
"ContentObject" => $contentObject );
}