[jira] Created: (OFBIZ-1706) Using a check in the POS causes an error in changing status

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

[jira] Created: (OFBIZ-1706) Using a check in the POS causes an error in changing status

Nicolas Malin (Jira)
Using a check in the POS causes an error in changing status
-----------------------------------------------------------

                 Key: OFBIZ-1706
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
             Project: OFBiz
          Issue Type: Bug
          Components: specialpurpose/pos
    Affects Versions: Release Branch 4.0
         Environment: XP with derby
            Reporter: Chris Lombardi


I always see an error when I use CHECK for payment in the POS.

2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]


--
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] Assigned: (OFBIZ-1706) Using a check in the POS causes an error in changing status

Nicolas Malin (Jira)

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

Jacques Le Roux reassigned OFBIZ-1706:
--------------------------------------

    Assignee: Jacques Le Roux

> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

--
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-1706) Using a check in the POS causes an error in changing status

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

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

Bilgin Ibryam updated OFBIZ-1706:
---------------------------------

    Attachment: check.patch

> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: check.patch
>
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

--
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-1706) Using a check in the POS causes an error in changing status

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

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

Bilgin Ibryam commented on OFBIZ-1706:
--------------------------------------

This error accurs because the orders paid with check are not approved. If we approve the order, then the order compltes w/o any error.
But I am not sure is there any business rule for not approving orders paid with check. If this is the case, then we can approve order paid with check only if they are face to face(POS) orders? What do you think?

For now I attach a patch that approves the order if it is paid with check.

Bilgin

> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: check.patch
>
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

--
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-1706) Using a check in the POS causes an error in changing status

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

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

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

Hi Bilgin,

Yes I agree, we should approve orders paid by check only if it's a face to face payment (POS is the only case for the moment) .

> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: check.patch
>
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

--
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-1706) Using a check in the POS causes an error in changing status

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

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

Bilgin Ibryam updated OFBIZ-1706:
---------------------------------

    Attachment: check.patch

I updated the patch and now the order is approved if it is paid by check and face-to-face

> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: check.patch, check.patch
>
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

--
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-1706) Using a check in the POS causes an error in changing status

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

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

Jacques Le Roux closed OFBIZ-1706.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks Bilgin and Chris,

Bilgin you patch in in rev. 645932 . I tried to apply the fix by hand to release4.0 but tht code is really too old...


> Using a check in the POS causes an error in changing status
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1706
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: Release Branch 4.0
>         Environment: XP with derby
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: check.patch, check.patch
>
>
> I always see an error when I use CHECK for payment in the POS.
> 2008-03-13 16:01:46,188 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: capturePaymentsByInvoice, triggered by rule on Service: createInvoiceForOrder
> 2008-03-13 16:01:46,359 (Thread-439) [PaymentGatewayServices.java:1003:INFO ] (Capture) Invoice [#CI2] total: 0.0
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1068:INFO ] The Remaining Total for order: RSCO10001 is: 0.00
> 2008-03-13 16:01:46,959 (Thread-439) [PaymentGatewayServices.java:1071:INFO ] Actual Expected Capture Amount : 0.00
> 2008-03-13 16:01:47,400 (Thread-439) [     UtilProperties.java:533:INFO ] Loaded 275 properties for: OrderErrorUiLabels (en)
> 2008-03-13 16:01:47,500 (Thread-439) [     UtilProperties.java:851:INFO ] ResourceBundle OrderErrorUiLabels (en_US) created in 390.0 mS
> 2008-03-13 16:01:47,500 (Thread-439) [  ServiceDispatcher.java:518:ERROR] Error in Service [changeOrderStatus]: ERROR : Could not change order status ; status is not a valid change.: [ORDER_CREATED] -> [ORDER_COMPLETED]
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:275:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:522)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:158)
> org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:121)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1061)
> org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:866)
> org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:802)
> org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:368)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:208)
> org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105)
> org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:121)
> net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2008-03-13 16:01:47,510 (Thread-439) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-03-13 16:01:47,510 (Thread-439) [  OrderChangeHelper.java:160:ERROR] Problems adjusting order header status for order #RSCO10001
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_CANCELLED][true][String]
> 2008-03-13 16:01:47,771 (Thread-439) [     ServiceEcaRule.java:144:INFO ] Running Service ECA Service: checkOrderItemStatus, triggered by rule on Service: changeOrderItemStatus
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]
> 2008-03-13 16:01:47,811 (Thread-439) [     ServiceEcaRule.java:127:INFO ] For Service ECA [changeOrderItemStatus] on [commit] got false for condition: [statusId][equals][ITEM_APPROVED][true][String]

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