You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2019/10/05 14:11:00 UTC

[jira] [Closed] (OFBIZ-10965) Error while checkout from WebPOS

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

Jacques Le Roux closed OFBIZ-10965.
-----------------------------------
    Fix Version/s: Upcoming Branch
         Assignee: Jacques Le Roux  (was: Swapnil Mane)
       Resolution: Cannot Reproduce

Thanks Pierre,

You are right these issue no longer exists. I noticed another smaller issue in log. No website is attached so the sendOrderCompleteNotification can't be done.

Not sure it's a real issue if the sales is done locally. So this may depend on the saling situation. I'd appreciate comments about that, anyway closing here.

{noformat}
2019-10-05 16:05:04,115 |jsse-nio-8443-exec-3 |WebPosSession                 |I| Created WebPosSession [pos-1]
2019-10-05 16:05:04,115 |jsse-nio-8443-exec-3 |SimpleMethod                  |I| No response code string or errors found, assuming success; returning code [success]
2019-10-05 16:05:04,118 |Thread-44            |ServiceSynchronization        |I| [Commit] Invoking [resetGrandTotal] via runSyncIgnore
2019-10-05 16:05:04,118 |Thread-42            |ServiceSynchronization        |I| [Commit] Invoking [loadSalesInvoiceFact] via runAsync
2019-10-05 16:05:04,118 |Thread-43            |ServiceSynchronization        |I| [Commit] Invoking [createInvoiceFromOrder] via runSyncIgnore
2019-10-05 16:05:04,118 |Thread-42            |ServiceDispatcher             |T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'webpos / loadSalesInvoiceFact'
2019-10-05 16:05:04,118 |Thread-45            |ServiceSynchronization        |I| [Commit] Invoking [sendOrderCompleteNotification] via runAsync
2019-10-05 16:05:04,118 |Thread-45            |ServiceDispatcher             |T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'webpos / sendOrderCompleteNotification'
2019-10-05 16:05:04,118 |Thread-42            |ServiceDispatcher             |T| [[ASync service finished...- total:0.0,since last(ASync service sta...):0.0]] - 'webpos / loadSalesInvoiceFact'
2019-10-05 16:05:04,120 |Thread-46            |ServiceSynchronization        |I| [Commit] Invoking [createReturnItemForRental] via runSyncIgnore
2019-10-05 16:05:04,121 |jsse-nio-8443-exec-3 |RequestHandler                |I| Ran Event [simple:component://webpos/minilang/PaymentEvents.xml#payFinish] from [request], result is [success]
2019-10-05 16:05:04,121 |Thread-47            |ServiceSynchronization        |I| [Commit] Invoking [loadSalesInvoiceFact] via runAsync
2019-10-05 16:05:04,121 |Thread-47            |ServiceDispatcher             |T| [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'webpos / loadSalesInvoiceFact'
2019-10-05 16:05:04,122 |Thread-43            |ServiceDispatcher             |T| Sync service [webpos/createInvoiceFromOrder] finished in [4] milliseconds
2019-10-05 16:05:04,126 |Thread-47            |ServiceDispatcher             |T| [[ASync service finished...- total:0.002,since last(ASync service sta...):0.002]] - 'webpos / loadSalesInvoiceFact'
2019-10-05 16:05:04,137 |jsse-nio-8443-exec-3 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId by default.
2019-10-05 16:05:04,137 |jsse-nio-8443-exec-3 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null Hidden sessionId by default.
2019-10-05 16:05:04,138 |jsse-nio-8443-exec-3 |RequestHandler                |I| Ran Event [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
2019-10-05 16:05:04,174 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync service [webpos/loadSalesInvoiceFact] finished in [55] milliseconds
2019-10-05 16:05:04,174 |jsse-nio-8443-exec-3 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2019-10-05 16:05:04,176 |OFBiz-JobQueue-1     |ServiceDispatcher             |T| Sync service [webpos/loadSalesInvoiceFact] finished in [50] milliseconds
2019-10-05 16:05:04,181 |jsse-nio-8443-exec-3 |ControlServlet                |T| [[[webpos::PayFinish (Domain:https://localhost)] Request Done- total:3.55,since last([webpos::PayFinis...):3.55]]
2019-10-05 16:05:04,216 |Thread-46            |ServiceDispatcher             |T| Sync service [webpos/createReturnItemForRental] finished in [96] milliseconds
2019-10-05 16:05:04,280 |Thread-44            |ServiceDispatcher             |T| Sync service [webpos/resetGrandTotal] finished in [162] milliseconds
2019-10-05 16:05:04,286 |Thread-45            |GenericAsyncEngine            |I| Persisted job queued : 1570284304181
2019-10-05 16:05:04,286 |Thread-45            |ServiceDispatcher             |T| [[ASync service finished...- total:0.168,since last(ASync service sta...):0.168]] - 'webpos / sendOrderCompleteNotification'
2019-10-05 16:05:04,350 |jsse-nio-8443-exec-2 |ControlServlet                |T| [[[webpos::ShowCartItemSelected (Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2019-10-05 16:05:04,359 |jsse-nio-8443-exec-9 |ControlServlet                |T| [[[webpos::ShowCart (Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2019-10-05 16:05:04,380 |jsse-nio-8443-exec-2 |RequestHandler                |I| Rendering View [ShowCartItemSelected].  Hidden sessionId by default.
2019-10-05 16:05:04,380 |jsse-nio-8443-exec-9 |RequestHandler                |I| Rendering View [ShowCart].  Hidden sessionId by default.
2019-10-05 16:05:04,382 |jsse-nio-8443-exec-2 |ServiceDispatcher             |T| Sync service [webpos/getUserPreferenceGroup] finished in [2] milliseconds
2019-10-05 16:05:04,382 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [webpos/getUserPreferenceGroup] finished in [2] milliseconds
2019-10-05 16:05:04,384 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[webpos::CustomerAddress (Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2019-10-05 16:05:04,385 |jsse-nio-8443-exec-7 |RequestHandler                |I| Rendering View [CustomerAddress].  Hidden sessionId by default.
2019-10-05 16:05:04,387 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [webpos/getUserPreferenceGroup] finished in [2] milliseconds
2019-10-05 16:05:04,394 |jsse-nio-8443-exec-2 |ScreenFactory                 |I| Got 5 screens in 0.008s from: file:/C:/projectsASF/ofbiz/plugins/webpos/widget/CartScreens.xml
2019-10-05 16:05:04,394 |jsse-nio-8443-exec-2 |UtilProperties                |W| Error converting String "" to Integer; using defaultNumber 60.
2019-10-05 16:05:04,399 |jsse-nio-8443-exec-7 |ScreenFactory                 |I| Got 8 screens in 0.005s from: file:/C:/projectsASF/ofbiz/plugins/webpos/widget/SearchScreens.xml
2019-10-05 16:05:04,399 |jsse-nio-8443-exec-7 |UtilProperties                |W| Error converting String "" to Integer; using defaultNumber 60.
2019-10-05 16:05:04,399 |jsse-nio-8443-exec-9 |UtilProperties                |W| Error converting String "" to Integer; using defaultNumber 60.
2019-10-05 16:05:04,518 |jsse-nio-8443-exec-2 |WebPosTransaction             |I| Created WebPosTransaction [10002]
2019-10-05 16:05:04,603 |jsse-nio-8443-exec-7 |UtilProperties                |W| Error converting String "" to Integer; using defaultNumber 60.
2019-10-05 16:05:04,624 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2019-10-05 16:05:04,646 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[webpos::CustomerAddress (Domain:https://localhost)] Request Done- total:0.262,since last([webpos::Customer...):0.262]]
2019-10-05 16:05:04,697 |jsse-nio-8443-exec-9 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2019-10-05 16:05:04,697 |jsse-nio-8443-exec-2 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2019-10-05 16:05:04,698 |jsse-nio-8443-exec-2 |ControlServlet                |T| [[[webpos::ShowCartItemSelected (Domain:https://localhost)] Request Done- total:0.348,since last([webpos::ShowCart...):0.348]]
2019-10-05 16:05:04,699 |jsse-nio-8443-exec-9 |ControlServlet                |T| [[[webpos::ShowCart (Domain:https://localhost)] Request Done- total:0.339,since last([webpos::ShowCart...):0.34]]
2019-10-05 16:05:20,818 |OFBiz-JobQueue-1     |PersistedServiceJob           |I| Job  [1570284304181] Id [11006] -- Next runtime: Thu Jan 01 00:59:59 CET 1970
2019-10-05 16:05:20,818 |OFBiz-JobQueue-0     |PersistedServiceJob           |I| Job  [1570284301229] Id [11005] -- Next runtime: Thu Jan 01 00:59:59 CET 1970
2019-10-05 16:05:20,843 |OFBiz-JobQueue-1     |ServiceUtil                   |E| {errorMessage=No website attached to order; cannot generate notification RSCO10061, responseMessage=fail}
2019-10-05 16:05:20,843 |OFBiz-JobQueue-1     |ServiceDispatcher             |W| Service Failure [sendOrderCompleteNotification]: No website attached to order; cannot generate notification RSCO10061
2019-10-05 16:05:20,843 |OFBiz-JobQueue-1     |ServiceDispatcher             |T| Sync service [default/sendOrderCompleteNotification] finished in [2] milliseconds
2019-10-05 16:05:20,863 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync service [default/addSuggestionsToShoppingList] finished in [22] milliseconds
{noformat}


> Error while checkout from WebPOS 
> ---------------------------------
>
>                 Key: OFBIZ-10965
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10965
>             Project: OFBiz
>          Issue Type: Bug
>          Components: webpos
>    Affects Versions: 17.12.01
>            Reporter: Padmavati Rawat
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: Upcoming Branch
>
>         Attachments: Errorwhilecheckout.png, OFBIZ-10965
>
>
> Steps:
> 1. Login to the POS Terminal.
> 2. Add item to the cart.
> 3. Set payment by pay cash "F3 PAY CASH"
> 4. click on checkout key "F8 CHECKOUT"
> Actual:
> System showing an error on the cart section while checkout.
> Expected:
> The order should be successfully placed.
> Please refer screenshot:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)