eZ Publish 4.3.0 + eZ Approve 2

Author Message

Samuel Torton

Tuesday 12 October 2010 2:27:56 am

Hello,
I've just installed the extension eZApprove2 on my eZ Publish 4.3.0
I meet some troubles to set up and configure workflows.
Here is below the bug I'm facing:
Workflow creation:
. I create a new workflow --> OK;
. And then, for this workflow, I add a new event "event/approve2" --> OK;
When I try to configure the event:
. I can add pre-selected approvers (users and/or groups) --> OK;
. I can configure "Users select approvers themselves" parameters --> OK;
. Whatever the selected section(s) in the "Affected sections" area, they ARE NOT saved in the config... I save the workflow and I get back to it, the selected sections are losed !
. I don't see "Language" section (as in original event/approve): is it normal ?
. I don't see "Versions" section (as in original event/approve): is it normal ?
Regarding the "affected sections" parameters which are not saved, here is what I see in the database ("ezx_approve2_event" table), "selects_sections" column: ",,,,,,,,,,,," (section names are missing)
Please help.
Thanks,

Samuel Torton

Samuel Torton

Tuesday 12 October 2010 3:46:29 am

Some more info:

. The extension "ezapprove2" I've installed is v0.8 and comes from: http://projects.ez.no/ezapprove2

There was no package no download, thus I used the SVN:
http://svn.projects.ez.no/ezapprove2/ezapprove2/ezp4/trunk/extension/ezapprove2/
(it seems to be compatible for 3.X only, that might be the reason why it's bugged for my 4.3.0)
And now, I see there is another extension "ezapprove2_for_4_1", v0.9, and comes from: http://projects.ez.no/ezapprove2_for_4_1

. The SVN repository is empty: http://svn.projects.ez.no/ezapprove2_for_4_1/
. And the package to download is mentioned to be stable, I read somewhere else it is in beta...
. Some pages mention it works for all 4.x, another page pentions it will not work for 4.2 and later...
I'm a bit lost...

Samuel Torton

scrieler _

Tuesday 12 October 2010 10:44:45 am

http://svn.projects.ez.no/ezapprove2/ezapprove2/ezp4/trunk/extension/ezapprove2/ seems to be the same like http://zev.ez.no/svn/extensions/ezapprove2/ezp4/trunk/extension/ezapprove2/

think its ok, but u have to change it a little bit...

in module.ini.append.php there must be ModuleList[]=ezapprove2 for example, can't remember what u still need to change.

Samuel Torton

Tuesday 12 October 2010 11:12:52 am

Yes, I had seen "ModuleList[]=ezapprove2" needed to be added, because "ExtensionRepositories[]=ezapprove2" is not enough.

And then, you have to give access to "ezapprove2" module role/policy to users.

Another hint:

There is a bug in the "affected section" template.
The solution is here:
http://projects.ez.no/ezapprove2/...ral/problem_saving_affected_sections

Thank you.

Samuel Torton

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 03:02:43
Script start
Timing: Jan 18 2025 03:02:43
Module start 'layout'
Timing: Jan 18 2025 03:02:43
Module start 'content'
Timing: Jan 18 2025 03:02:44
Module end 'content'
Timing: Jan 18 2025 03:02:44
Script end

Main resources:

Total runtime0.6463 sec
Peak memory usage4,096.0000 KB
Database Queries61

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9141152.6250
Module start 'layout' 0.00490.0023 740.539139.4531
Module start 'content' 0.00720.6375 779.9922554.1641
Module end 'content' 0.64470.0015 1,334.156312.1641
Script end 0.6463  1,346.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4978160.0002
Check MTime0.00140.2132160.0001
Mysql Total
Database connection0.00070.103710.0007
Mysqli_queries0.588491.0372610.0096
Looping result0.00060.0902590.0000
Template Total0.618395.720.3091
Template load0.00230.350820.0011
Template processing0.616095.310920.3080
Template load and register function0.00010.015510.0001
states
state_id_array0.00090.140010.0009
state_identifier_array0.00170.259520.0008
Override
Cache load0.00200.3036460.0000
Sytem overhead
Fetch class attribute can translate value0.00080.127020.0004
Fetch class attribute name0.00170.270350.0003
XML
Image XML parsing0.00060.093520.0003
class_abstraction
Instantiating content class attribute0.00000.002770.0000
General
dbfile0.00070.1134160.0000
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs