|
Warnings while approving the purchase order
------------------------------------------- Key: OFBIZ-4495 URL: https://issues.apache.org/jira/browse/OFBIZ-4495 Project: OFBiz Issue Type: Bug Components: order Affects Versions: Release Branch 11.04, SVN trunk Reporter: Kiran Gawde Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kiran Gawde updated OFBIZ-4495: ------------------------------- Attachment: OFBIZ-4495-OrderServicesJava.patch Added orderTypeId to resultSuccess. Set the status on orderItem after, it is set in orderHeader > Warnings while approving the purchase order > ------------------------------------------- > > Key: OFBIZ-4495 > URL: https://issues.apache.org/jira/browse/OFBIZ-4495 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, SVN trunk > Reporter: Kiran Gawde > Attachments: OFBIZ-4495-OrderServicesJava.patch > > > Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. > [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID > [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. > The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. > The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4495. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 11.04 Assignee: Jacques Le Roux Thanks Kiran, Your patch is in trunk r1187933 R11.04 r1187934. > Warnings while approving the purchase order > ------------------------------------------- > > Key: OFBIZ-4495 > URL: https://issues.apache.org/jira/browse/OFBIZ-4495 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, SVN trunk > Reporter: Kiran Gawde > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4495-OrderServicesJava.patch > > > Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. > [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID > [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. > The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. > The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yashwant dhakad updated OFBIZ-4495: ----------------------------------- Attachment: OFBIZ-4495-R10.04.patch Here is the patch for R10.04 branch. > Warnings while approving the purchase order > ------------------------------------------- > > Key: OFBIZ-4495 > URL: https://issues.apache.org/jira/browse/OFBIZ-4495 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, SVN trunk > Reporter: Kiran Gawde > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4495-OrderServicesJava.patch, OFBIZ-4495-R10.04.patch > > > Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. > [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID > [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. > The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. > The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280921#comment-13280921 ] Jacques Le Roux commented on OFBIZ-4495: ---------------------------------------- Thanks Yashwant, Your patch is in R10.04 at r1341458 > Warnings while approving the purchase order > ------------------------------------------- > > Key: OFBIZ-4495 > URL: https://issues.apache.org/jira/browse/OFBIZ-4495 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, SVN trunk > Reporter: Kiran Gawde > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4495-OrderServicesJava.patch, OFBIZ-4495-R10.04.patch > > > Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. > [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID > [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. > The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. > The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280924#comment-13280924 ] yashwant dhakad commented on OFBIZ-4495: ---------------------------------------- Thanks Jacques. > Warnings while approving the purchase order > ------------------------------------------- > > Key: OFBIZ-4495 > URL: https://issues.apache.org/jira/browse/OFBIZ-4495 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, SVN trunk > Reporter: Kiran Gawde > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4495-OrderServicesJava.patch, OFBIZ-4495-R10.04.patch > > > Following warnings were noticed in the log while approving the purchase order that was created automatically for drop ship product. > [ OrderServices.java:2389:WARN ] Tried to setOrderStatus with the same statusId [ ORDER_APPROVED ] for order with ID > [ServiceEcaCondition.java:156:WARN ] From Field (orderTypeId) is not found in context for changeOrderStatus, defaulting to null. > The first warning suggest that there is order status is changed again. Shouldn't have happened. The order header should be updated before updating the order items. > The second warning happens because some time, changeOrderStatus returns without adding orderTypeId to success result. Since there are secas rules based upon this field, the field should be mandatory and not optional. -- 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 |
| Free forum by Nabble | Edit this page |
