runSubscriptionAutoReorders places duplicate orderIds
-----------------------------------------------------
Key: OFBIZ-4762
URL: https://issues.apache.org/jira/browse/OFBIZ-4762
Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: SVN trunk
Reporter: Sebastian Leitner
Priority: Minor
The services "runSubscriptionAutoReorders" runs every midnight by default. It
checks for expired subscriptions and places a new order to extend them. It
fills up a cart from the previous order and places the order.
It also sets the orderId of the old order at the cart, which is used during
creation of the new order. According to this, no new order can be placed
because of duplicate-entry exceptions from the database.
I will attach a patch for this.
- Sebastian
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira