4.2 problem with STATUS_FETCH_TEMPLATE_REPEAT

Author Message

H-Works Agency

Tuesday 27 October 2009 8:57:06 am

Hello,

My payment extension (ezSips 2.0) doesn't work anymore. Confirm order directly goes to orderview.

The problem seems to occurs with this code :

return eZWorkflowType::STATUS_FETCH_TEMPLATE_REPEAT;

Which isn't calling any templates anymore.

Would be great if we could have an automatic upgrade manager.

Thanx in advance.

EZP is Great

André R.

Tuesday 27 October 2009 9:24:36 am

Probably related to:
http://issues.ez.no/14371

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

H-Works Agency

Tuesday 27 October 2009 9:48:08 am

Hello André and thanks for your anwser.

I've read this issue and have applied the patch but it doesn't make my extension work.

In fact nothing have changed.

Do you think this patch is supposed to make the status STATUS_FETCH_TEMPLATE_REPEAT work ?

Or is it for another purpose.

I tried all the status i could find but none of them seems to replace "STATUS_FETCH_TEMPLATE_REPEAT" :(

EZP is Great

H-Works Agency

Tuesday 03 November 2009 2:04:18 am

Only a kernel hack in "shop/checkout.php" can make my extension work for now :

- copy "case eZModuleOperationInfo::STATUS_HALTED" at line 69
- replace "eZModuleOperationInfo::STATUS_HALTED" by "4"
- You module should work now...i told you its dirty

I will correct my extension when EZ will tell me what should replace STATUS_FETCH_TEMPLATE_REPEAT.

EZP is Great

Jérôme Vieilledent

Wednesday 01 September 2010 7:20:02 am

Hi Martin

I managed to install your extension but found a major bug in it : It overrides order information while returning from payment to order status. I just fixed it. :)

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 04:57:48
Script start
Timing: Jan 18 2025 04:57:48
Module start 'layout'
Timing: Jan 18 2025 04:57:48
Module start 'content'
Timing: Jan 18 2025 04:57:49
Module end 'content'
Timing: Jan 18 2025 04:57:49
Script end

Main resources:

Total runtime1.1570 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.0469152.6406
Module start 'layout' 0.00660.0026 740.687539.4766
Module start 'content' 0.00921.1465 780.1641613.2422
Module end 'content' 1.15570.0013 1,393.406316.1250
Script end 1.1570  1,409.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2825160.0002
Check MTime0.00130.1145160.0001
Mysql Total
Database connection0.00100.088310.0010
Mysqli_queries1.092894.4511650.0168
Looping result0.00070.0582630.0000
Template Total1.127897.520.5639
Template load0.00210.180220.0010
Template processing1.125797.294620.5629
Template load and register function0.00010.009610.0001
states
state_id_array0.00110.097110.0011
state_identifier_array0.00130.109020.0006
Override
Cache load0.00180.1551340.0001
Sytem overhead
Fetch class attribute can translate value0.00090.073530.0003
Fetch class attribute name0.00130.112680.0002
XML
Image XML parsing0.00200.169130.0007
class_abstraction
Instantiating content class attribute0.00000.0015100.0000
General
dbfile0.00280.2408310.0001
String conversion0.00000.000740.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs