Friday 09 January 2009 3:44:07 am
The problem seems to be related to the usage of this function in my php module :
$newVersion = $contentObject->createNewVersion( false, true, $languageCode, false );
What is strange is that this code is working perfectly on a certain class but not on another which is creating this transaction bug above. After digging a little i found that it stop at this point in the above function :
$copiedVersion = $this->copyVersion( $this, $version, $nextVersionNumber, false, $status, $languageCode, $copyFromLanguageCode );
Does anyone know why this "copyVersion" function can't handle certain classes ? Is there a special things to know for using this function ? Is there special things to know about this copyVersion function ? Why should we enclose "createNewVersion" in a begin / commit tough its alreay present in the function ? Thanx in advance for everything
EZP is Great
|