Help changing the parent node of an object.

Help changing the parent node of an object.

Tuesday 08 August 2006 8:42:30 pm - 4 replies

Author Message

Kristof Coomans

Tuesday 08 August 2006 10:34:55 pm

Welcome to the eZ community!

This could be related to http://ez.no/bugs/view/8438 , but I'm not sure. Please try the attached patch and tell us if it works now.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Tamaki Hodge

Wednesday 09 August 2006 3:21:14 pm

Thanks for the suggestion.

I applied the patch, however I still have the same problem.

Any ideas?

Kristof Coomans

Wednesday 09 August 2006 10:26:48 pm

In kernel/content/node_edit.php, on line 251:

// If the object has been previously published we do not allow node assignment operations
if ( $object->attribute( 'status' ) != EZ_CONTENT_OBJECT_STATUS_DRAFT )
{
    return;
}

I'm afraid it's the expected behavior. The code came in together with the new multilingual features on trunk svn rev. 15370.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Tamaki Hodge

Thursday 10 August 2006 3:22:20 pm

Thanks.

Would it be a good idea to remove this if statement?

Or should I just write an extension that takes care of it?

You must be logged in to post messages in this topic!

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