Wait until date event/trigger problems

Author Message

Clemens T

Thursday 17 July 2008 4:32:25 am

Hello All,

I'm trying to postpone the publishing of a news item through workflows and triggers and I just can't make it work, <b>so please help</b>.

The trigger (before publish) is set up as follows:
http://sanoma-magazines.com/forum_imgs/trigger.png

Then the multiplexer to filter not all classes, but only the news items is setup with just one event:
http://sanoma-magazines.com/forum_imgs/filternewsitem.png

And next the workflow, with a wait till date event, to run after the filter has been applied is here:
http://sanoma-magazines.com/forum_imgs/prtestuitstel.png

Luckily the items do not get published right away, but if I run the cronjobs script (runcronjobs.php) it starts publishing every item that is still in the 'wait until date' phase. It doesn't care about the date in the news item attribute.

How can I fix this?

Regards,
Clemens

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:23:59
Script start
Timing: Jan 19 2025 07:23:59
Module start 'layout'
Timing: Jan 19 2025 07:23:59
Module start 'content'
Timing: Jan 19 2025 07:23:59
Module end 'content'
Timing: Jan 19 2025 07:23:59
Script end

Main resources:

Total runtime0.8102 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.2734152.6406
Module start 'layout' 0.00680.0042 741.914139.4609
Module start 'content' 0.01100.7975 781.3750404.4063
Module end 'content' 0.80850.0016 1,185.78138.1563
Script end 0.8101  1,193.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4159160.0002
Check MTime0.00130.1595160.0001
Mysql Total
Database connection0.00100.119710.0010
Mysqli_queries0.771695.2418460.0168
Looping result0.00060.0691440.0000
Template Total0.777996.020.3889
Template load0.00220.277120.0011
Template processing0.775695.734720.3878
Template load and register function0.00020.029410.0002
states
state_id_array0.00160.192510.0016
state_identifier_array0.00070.081020.0003
Override
Cache load0.00190.2284150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.078910.0006
Fetch class attribute name0.00060.076210.0006
XML
Image XML parsing0.00010.018010.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00090.1072100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs