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.