approval workflow: empty editor list !?!?!?! help!

Author Message

Alessandro Cipriani

Monday 23 February 2004 5:56:25 am

hi all
i'm implementing a simple approva workflow on my site
i already worked with this kind of workflow but never with the 3.1.1 version.
when i add a new approval workflow i get the editors list with no user-user groups... it's totally empty! why?

best regards
alessandro

Iain MacLean

Tuesday 24 February 2004 2:25:59 pm

Hi Alessandro

There was a bug related to the editors list that was fixed in v3.3-2, which might be what is causing your problem. The bug is in kernal/classes/worflowtypes/event/ezapprove/ezapprovetype.php. Look for the code starting at line 111 and add a new line to it...

$user =& $users[$key];
$user['Name'] = $user['name'];
$user['Value'] = $user['id'];
ADD THIS LINE HERE $userList[] = $user;
}
returns $userList;
}break;

You will now get the list of editors you need. Hope that's what you needed.

Cheers

Iain

Alessandro Cipriani

Wednesday 25 February 2004 2:57:21 am

hi ian
i downloaded the 3.3-3 version and it works perfectly
thanx a lot
alessandro

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 00:25:02
Script start
Timing: Jan 19 2025 00:25:02
Module start 'layout'
Timing: Jan 19 2025 00:25:02
Module start 'content'
Timing: Jan 19 2025 00:25:02
Module end 'content'
Timing: Jan 19 2025 00:25:02
Script end

Main resources:

Total runtime0.0282 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.0082 588.0625152.6406
Module start 'layout' 0.00820.0054 740.703139.4766
Module start 'content' 0.01350.0122 780.179789.3672
Module end 'content' 0.02570.0025 869.546934.3047
Script end 0.0282  903.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003612.7267140.0003
Check MTime0.00144.9142140.0001
Mysql Total
Database connection0.00082.842410.0008
Mysqli_queries0.005318.736830.0018
Looping result0.00000.084510.0000
Template Total0.00196.910.0019
Template load0.00113.936610.0011
Template processing0.00082.913410.0008
Override
Cache load0.00082.757110.0008
General
dbfile0.00041.317380.0000
String conversion0.00000.035540.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