[ 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.