[OFBiz] Dev - Order creation transaction timeout...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Dev - Order creation transaction timeout...

Ray Barlow
Hi,

Just after some help with extending the transaction timeout for the
order creation screens.

We have reasonably large orders that are failing to create and it throws
errors about stock levels not being high enough for product X and Y,
although we don't use the "require stock for order creation" at the
product store level. The user solution at the moment is to break up the
order and it works, so it's safe to assume the transaction is timing
out, although the error really is very confusing for the user.
Especially if we did start using the override field "require inventory"
at the product level to stop ordering of products that we know are out
for months or ever.

I've seen the "TRANSACTION_TIMEOUT" parameter being used in widgets but
was wondering if this could also be placed in a hidden field on the
checkout form or in the controller.xml file or anywhere else that might
be suitable?

Any points appreciated,

Ray

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - Order creation transaction timeout...

Jacopo Cappellato
Hi Ray,

you can set the transaction timeout in different places:

- as an attribute of your screen definition: this sets the timeout of
the screen's transaction
- as an attribute of a service definition (probably "storeOrder" in your
situation): this sets the timeout of the service

First of all I'd try with the latter...

Jacopo

Ray wrote:

> Hi,
>
> Just after some help with extending the transaction timeout for the
> order creation screens.
>
> We have reasonably large orders that are failing to create and it throws
> errors about stock levels not being high enough for product X and Y,
> although we don't use the "require stock for order creation" at the
> product store level. The user solution at the moment is to break up the
> order and it works, so it's safe to assume the transaction is timing
> out, although the error really is very confusing for the user.
> Especially if we did start using the override field "require inventory"
> at the product level to stop ordering of products that we know are out
> for months or ever.
>
> I've seen the "TRANSACTION_TIMEOUT" parameter being used in widgets but
> was wondering if this could also be placed in a hidden field on the
> checkout form or in the controller.xml file or anywhere else that might
> be suitable?
>
> Any points appreciated,
>
> Ray
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev