You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (Closed) (JIRA)" <ji...@apache.org> on 2012/03/29 09:31:32 UTC

[jira] [Closed] (OFBIZ-4762) runSubscriptionAutoReorders places duplicate orderIds

     [ https://issues.apache.org/jira/browse/OFBIZ-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp closed OFBIZ-4762.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 11.04
                   Release Branch 10.04

Thanks Sebastian,
your Patch is in:
trunk @Rev 1306732
11.04 @Rev 1306731
10.04 @Rev 1306729

Have a good day!
                
> 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
>            Assignee: Sascha Rodekamp
>            Priority: Minor
>             Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk
>
>         Attachments: OrderServices.java.patch
>
>
> 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