tried copy bug fix, but now getting new error

Author Message

ben m

Wednesday 27 August 2003 5:15:12 pm

per liu's bug fix message

(http://www.ez.no/developer/ez_publish_3/bug_reports/copying_content_object_does_not_work)

I added the line of code: $contentObject->setName( $newname );

both above and below the line: eZDebugSetting::writeDebug( 'kernel-content-object-copy', $contentObjectVersion, 'Copied version' ); as line 724 & 725.

Now I get a error: "Fatal error: Call to undefined function: copy() in .../kernel/content/copy.php on line 55"
and am still unable to copy objects. There is a comment appended to the bug fix which seems to indicate that the fix is not sufficient. Are there additional changes that need to be made? I have found no additional posts on this topic...

thanks!
Ben

Bruce Morrison

Wednesday 27 August 2003 6:12:32 pm

Hi Ben

I've also tried this and am am convinced that the fix doesn't work. The variable $newname doesn't appear to be set in the file indicated.

This bug also exists in 3.2 beta 1

Cheers
Bruce
designIT

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.