Forums / Developer / webdav, triggers, workflow

webdav, triggers, workflow

Author Message

zurgutt -

Monday 22 August 2005 5:29:06 am

It seems from my experiments that objects published through webdav do not trigger prepublish workflows. Can someone knowledgeable confirm this as by design or a bug?

Does the webdav publishing trigger any workflows at all?

If no, can you hint me on how to make it to? Its necessary for me to autofill some fields of objects published through dav. If i get this working, result will be semi-universal extension for populating object fields from external mysql table :)

Certified eZ developer looking for projects.
zurgutt at gg.ee

Björn Dieding@xrow.de

Monday 22 August 2005 7:13:54 am

$operationResult = eZOperationHandler::execute(
'content', 'publish', array(
'object_id' => $contentObject->attribute( 'id' ),
'version' => $contentObject->attribute( 'current_version' ) ) );

If you call this operation with-in your plug-in... it should also run over the "pre_publish" trigger

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/