[jira] Created: (OFBIZ-2254) Duplicate order is no longer working

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

[jira] Created: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
Duplicate order is no longer working
------------------------------------

                 Key: OFBIZ-2254
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Release Branch 9.3, SVN trunk
            Reporter: Jacques Le Roux


While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :

duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699611#action_12699611 ]

lapog asalak commented on OFBIZ-2254:
-------------------------------------

hai,

  I wanted to fix this issue but Where is the duplicate order in order component? i dint find any thing like that.

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699621#action_12699621 ]

Jacques Le Roux commented on OFBIZ-2254:
----------------------------------------

Hi lapog,

I'm not sure to understand your question ? If you mean "where the mean in the UI it's in order view?", something like
https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10090, there look for "Create As New Order"

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699638#action_12699638 ]

lapog asalak commented on OFBIZ-2254:
-------------------------------------

hai jacques

  I did as you said and continued and if i click on "Create Order" i got some error like this

The Following Errors Occurred:

Did not complete the order, the following occurred:Order creation failed; please notify customer service.

But i dint get as you said in the description .

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699658#action_12699658 ]

Jacques Le Roux commented on OFBIZ-2254:
----------------------------------------

Lapog,

The error you reported is the one we can see in the UI. The one I reported is seen in the log and is more detailed. Do you think you are able to fix that ?

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699682#action_12699682 ]

lapog asalak commented on OFBIZ-2254:
-------------------------------------

ok i will fix it

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

lapog asalak updated OFBIZ-2254:
--------------------------------

    Attachment: duplicateorder.patch

Please review the patch

> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>         Attachments: duplicateorder.patch
>
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2254) Duplicate order is no longer working

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-2254.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 9.04
         Assignee: Jacques Le Roux

Thanks lapog,

I totally wagree with your comment
// Since we only need the cart items, so set the order id as null
and I checked that there are no other uses of the orderId, only the cart is used indeed.

Your patch is in trunk at r767671   and release 9.04 at r767672.



> Duplicate order is no longer working
> ------------------------------------
>
>                 Key: OFBIZ-2254
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2254
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: duplicateorder.patch
>
>
> While working on another issue, I found that Duplicate order is not working. It's a duplicate key error :
> duplicate key value violates unique constraint "pk_order_header"

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.