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/

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

eZ debug

Timing: Jan 19 2025 07:22:11
Script start
Timing: Jan 19 2025 07:22:11
Module start 'layout'
Timing: Jan 19 2025 07:22:11
Module start 'content'
Timing: Jan 19 2025 07:22:12
Module end 'content'
Timing: Jan 19 2025 07:22:12
Script end

Main resources:

Total runtime0.9285 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 590.2891152.6250
Module start 'layout' 0.00570.0035 742.914139.4453
Module start 'content' 0.00920.9180 782.3594529.7891
Module end 'content' 0.92720.0012 1,312.14848.3203
Script end 0.9284  1,320.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3524160.0002
Check MTime0.00130.1426160.0001
Mysql Total
Database connection0.00070.076710.0007
Mysqli_queries0.885895.4050540.0164
Looping result0.00050.0550520.0000
Template Total0.889695.820.4448
Template load0.00220.233820.0011
Template processing0.887495.579320.4437
Template load and register function0.00010.010310.0001
states
state_id_array0.00130.137410.0013
state_identifier_array0.00140.155920.0007
Override
Cache load0.00180.1906140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.055220.0003
Fetch class attribute name0.00110.113540.0003
XML
Image XML parsing0.00100.102620.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00100.1036230.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs