bug when creating object

You need to be logged in to post messages in the forums. New users may register here.

Gaetano Giunta

Member since:
09 January 2008

Posts: 152

Thursday 04 December 2008 6:37:26 am

In function publish_eZ_node() you need to reload the current object after calling eZOperationHandler::execute( 'content', 'publish', ...)

Otherwise an incomplete object is carried on to post_publish handler.

(makes it though f.e. to fix creation/modification dates post-facto)
Up

Philipp Kamps

Member since:
25 August 2008

Posts: 11

Wednesday 17 December 2008 10:30:49 am

Good catch.

I'll develop a refresh of the object for the next release. If you have a patch it would be very welcome.

Thanks for the feedback.

Up

You need to be logged in to post messages in the forums. New users may register here.