Forums / Developer / 4.2 problem with STATUS_FETCH_TEMPLATE_REPEAT

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. :)