unpublish_date stops working when workflow is activated?

Author Message

Anja Lundin

Sunday 28 August 2005 11:42:09 pm

Hi,
We're using 3.6.0 of eZ and we have just started to work with publishing articles with a workflow. Our class article has also a field unpublish_date and before we started to use the workflow, the cronjob unpublish worked fine. With workflow activated (publish an article on a specific date) the unpublish function doesn't work anymore.

I've tried the exact same thing on 3.4.4 version of eZ and it works fine.

Is this a bug or do we have to do somthing different in version 3.6.0?

Thanks in advance!
/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Monday 29 August 2005 12:18:57 am

Hi,
Found a soultion:

http://ez.no/community/forum/developer/unpublish_script_in_cronjobs_folder/re_unpublish_script_in_cronjobs_folder__4

It works fine with this change in unpublish.php!

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

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 18 2025 22:37:05
Script start
Timing: Jan 18 2025 22:37:05
Module start 'layout'
Timing: Jan 18 2025 22:37:05
Module start 'content'
Timing: Jan 18 2025 22:37:05
Module end 'content'
Timing: Jan 18 2025 22:37:05
Script end

Main resources:

Total runtime0.0260 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.1563152.6563
Module start 'layout' 0.00700.0039 740.812539.5078
Module start 'content' 0.01100.0132 780.320389.3984
Module end 'content' 0.02420.0018 869.718830.3047
Script end 0.0259  900.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.6623140.0002
Check MTime0.00114.3341140.0001
Mysql Total
Database connection0.00176.519110.0017
Mysqli_queries0.003111.968730.0010
Looping result0.00000.068910.0000
Template Total0.00145.410.0014
Template load0.00083.192110.0008
Template processing0.00062.156510.0006
Override
Cache load0.00062.403510.0006
General
dbfile0.00031.105380.0000
String conversion0.00000.045940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs