Forums / Extensions / eZ Publish 4.3.0 + eZ Approve 2

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

eZ debug

Timing: Jan 17 2025 23:52:33
Script start
Timing: Jan 17 2025 23:52:33
Module start 'content'
Timing: Jan 17 2025 23:52:34
Module end 'content'
Timing: Jan 17 2025 23:52:34
Script end

Main resources:

Total runtime0.6337 sec
Peak memory usage4,096.0000 KB
Database Queries198

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.8281180.8438
Module start 'content' 0.00580.4732 769.6719559.2422
Module end 'content' 0.47900.1547 1,328.9141336.7500
Script end 0.6337  1,665.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5917210.0002
Check MTime0.00140.2257210.0001
Mysql Total
Database connection0.00050.078610.0005
Mysqli_queries0.542085.53331980.0027
Looping result0.00210.33651960.0000
Template Total0.603695.220.3018
Template load0.00170.268720.0009
Template processing0.601894.972520.3009
Template load and register function0.00050.081110.0005
states
state_id_array0.00080.130410.0008
state_identifier_array0.00190.301720.0010
Override
Cache load0.00180.2777460.0000
Sytem overhead
Fetch class attribute can translate value0.00130.208930.0004
Fetch class attribute name0.00130.197750.0003
XML
Image XML parsing0.00360.568330.0012
class_abstraction
Instantiating content class attribute0.00000.003070.0000
General
dbfile0.00871.3685270.0003
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs