eZApprove2 - asks for location when editing an object

Author Message

Colin Igloo

Wednesday 28 May 2008 9:03:52 pm

Hi

I'm having trouble when an object is created, then edited by someone during the ezapprove2 workflow. When the approver clicks "Send for publishing", they are asked to select a location for the object, even though the object should already have a location (given to it by the person who created the object in the first place).

This seems like a bug in eZApprove2. Has anyone else come across this problem? Or is it working correctly? It works fine if the approver edits an object that has already been published, the problem only occurs when the object being approved is new.

eZPublish version : 3.9.3
eZApprove2 version : 0.6

Thanks
Colin

Bruce Morrison

Wednesday 28 May 2008 10:24:54 pm

Hi Colin

I did some work on the eZApprove2 extension earlier this year and this is one of the issues I fixed. The changes were committed back to SVN but I don't think there has been a "release" that includes the changes.

SVN details is at http://projects.ez.no/ezapprove2/subversion

The changes I made were for eZ Publish 4 so you'll want the eZ4 trunk http://svn.projects.ez.no/ezapprove2/ezapprove2/ezp4/trunk/

Details of the changes are at http://projects.ez.no/ezapprove2/forum/general/code_review_of_ez4_php5_version_patches These might help you backporting the patches for an earlier version.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Lucas Aguilar

Monday 11 April 2011 9:00:08 am

Anyone please?
I applied and I ezapprove2 extension does not work correctly, like I do not endorse the content when I press "approve" any help? and also I have the same problem that arises in this forum, you lose the location, any link to the stable version ezapprove2? to work with the eZpublish 4.0.1? or solve the issue of loss of initial location.

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

Main resources:

Total runtime0.0121 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.0045 588.0625152.6406
Module start 'layout' 0.00450.0025 740.703139.4766
Module start 'content' 0.00700.0037 780.179789.3672
Module end 'content' 0.01070.0014 869.546934.3047
Script end 0.0120  903.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002419.7528140.0002
Check MTime0.001310.5635140.0001
Mysql Total
Database connection0.00054.150410.0005
Mysqli_queries0.002016.953030.0007
Looping result0.00000.082910.0000
Template Total0.00129.510.0012
Template load0.00065.307410.0006
Template processing0.00054.205710.0005
Override
Cache load0.00043.619210.0004
General
dbfile0.00021.802780.0000
String conversion0.00000.175740.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