Workflows don't work!

Author Message

Conor Murray

Monday 26 April 2004 9:02:14 am

I've been having a lot of trouble with workflows with sites running version 3.2, so I thought I'd set up a test site running 3.3 to see how I got on. I've installed the standard news demo site. Here is my system info:

OS: FreeBSD 4.6.2

Version
3.3-4 (3.3 release 4)

SVN revision
5412

Extensions

PHP
Version
4.3.1

Extensions
xml, tokenizer, standard, session, posix, pcre, overload, mysql, ctype, apache

Safe mode is off.
Basedir restriction is off.
Global variable registration is off.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is .
Maximum execution time is 300 seconds.

PHP Accelerator
There is no known PHP accelerator active.

Database
Type
mysql

I find that workflows (approve before publish) will ONLY work if I set "users without approval" to All. If I set "users without approval" to any groups other than All then the trigger (content publish before "Approval of new content")/workflow have no effect and articles are published directly. This is similar to the problems I encountered with 3.2.

The site is fairly much the vanilla News demo site. If I set "users without approval" to All then the workflow/trigger works as expected, so it would appear that the problem has something to do with the filtering of user types. I encountered exactly the same problem with 3.2.

Has anyone any ideas as to what could be wrong? I can post more info here if required.

Thanks, Conor Murray.

Language is a virus - William S Burroughs

Willie Seabrook

Friday 07 May 2004 9:41:50 pm

The workflow system is baloney. Do some searching on the forums and you'll find a whole bunch of stuff. Its on everyones wishlist for a major workover.

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

Main resources:

Total runtime0.7207 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.0110 587.9141152.6250
Module start 'layout' 0.01110.0065 740.539139.4453
Module start 'content' 0.01750.7019 779.9844491.3359
Module end 'content' 0.71940.0013 1,271.32038.1719
Script end 0.7207  1,279.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5585160.0003
Check MTime0.00150.2014160.0001
Mysql Total
Database connection0.00270.376710.0027
Mysqli_queries0.665092.2731540.0123
Looping result0.00050.0740520.0000
Template Total0.678894.220.3394
Template load0.00260.361920.0013
Template processing0.676193.811620.3381
Template load and register function0.00020.027110.0002
states
state_id_array0.00140.193010.0014
state_identifier_array0.00100.137320.0005
Override
Cache load0.00200.2721390.0001
Sytem overhead
Fetch class attribute can translate value0.00080.116420.0004
Fetch class attribute name0.00120.167320.0006
XML
Image XML parsing0.00030.035120.0001
class_abstraction
Instantiating content class attribute0.00020.028320.0001
General
dbfile0.00130.1841100.0001
String conversion0.00000.002740.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/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
3content/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.0002 secs