Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053419Retail ModulesEvents for Paymentspublic2023-09-08 11:362023-10-11 08:55
malsasua 
Triage Platform Conn 
highmajoralways
closedfixed 
5
 
 
No
0053419: Using Event Payments, when a payment device is not responding the login is locked
During the login, if a payment device configured with event payments is not responding, error during login is raised, and login can not be completed.

Error popup:
Event Error: connection error
. in a environment with Wynpay, update the file
hwmanager/bin/obwynpay.json
with the text
"null"
. restart hw manager
. do login-> error popup is displayed and login is not completed

-->> reproduced in live builds:
POS:
- do login in POS -> it works
- do logout
Backoffice:
- close store -> "Terminal and till status" window will be opened ->
- click in close till
POS:
- do login in POS -> Event error popup will be displayed and login can not be completed
No tags attached.
png Screenshot from 2023-09-11 16-32-47.png (81,619) 2023-09-11 16:33
https://issues.openbravo.com/file_download.php?file_id=18949&type=bug
png

png image.png (135,221) 2023-09-11 16:36
https://issues.openbravo.com/file_download.php?file_id=18950&type=bug
png

png Screenshot from 2023-09-14 13-46-48.png (631,345) 2023-09-14 13:49
https://issues.openbravo.com/file_download.php?file_id=18958&type=bug
Issue History
2023-09-08 11:36malsasuaNew Issue
2023-09-08 11:36malsasuaAssigned To => Triage Platform Conn
2023-09-08 11:36malsasuaTriggers an Emergency Pack => No
2023-09-11 16:33malsasuaFile Added: Screenshot from 2023-09-11 16-32-47.png
2023-09-11 16:34malsasuaNote Added: 0154682
2023-09-11 16:36malsasuaFile Added: image.png
2023-09-14 13:48adrianromeroNote Added: 0154850
2023-09-14 13:49adrianromeroFile Added: Screenshot from 2023-09-14 13-46-48.png
2023-09-26 13:36malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26901#r26901
2023-09-28 11:40hgbotNote Added: 0155340
2023-09-29 08:31hgbotResolutionopen => fixed
2023-09-29 08:31hgbotStatusnew => closed
2023-09-29 08:31hgbotNote Added: 0155370
2023-09-29 08:31hgbotNote Added: 0155371
2023-10-09 11:24hgbotNote Added: 0155669
2023-10-11 08:55hgbotNote Added: 0155763
2023-10-11 08:55hgbotNote Added: 0155764

Notes
(0154682)
malsasua   
2023-09-11 16:34   
HW Manager log error:
INFO: WynPay library Path: C:\org.openbravo.retail.poshwmanager\bin\wynpay\libext
sept. 07, 2023 10:44:27 AM WynPayUtility getOBWynPayProp
FINER: THROW
com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
 at [Source: (byte[])"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"; line: 1, column: 2]
    at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391)
    at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:735)
    at com.fasterxml.jackson.core.base.ParserMinimalBase._throwInvalidSpace(ParserMinimalBase.java:713)
    at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipWSOrEnd(ReaderBasedJsonParser.java:2461)
    at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:698)
    at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4703)
    at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3090)
    at com.openbravo.retail.wynpay.WynPayUtility.getOBWynPayProp(Unknown Source)
    at com.openbravo.retail.wynpay.WynPayTerminalProcess.initTrxNumber(Unknown Source)
    at com.openbravo.retail.wynpay.WynPayTerminalProcess.<init>(Unknown Source)
    at com.openbravo.retail.wynpay.WynPayLibrary.<init>(Unknown Source)
    at com.openbravo.retail.wynpay.WynPayFactory.create(Unknown Source)
    at com.openbravo.wslib.WSLibraryServlet.createWebSocket(WSLibraryServlet.java:84)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:230)
    at org.eclipse.jetty.websocket.server.WebSocketServerFactory.acceptWebSocket(WebSocketServerFactory.java:215)
    at org.eclipse.jetty.websocket.servlet.WebSocketServlet.service(WebSocketServlet.java:160)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
    at org.eclipse.jetty.server.Server.handle(Server.java:516)
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
    at java.base/java.lang.Thread.run(Thread.java:834)
(0154850)
adrianromero   
2023-09-14 13:48   
Issue is not reproduccible in master. After a connection error to the payments integration service, an error message is displayed in the login but the application continues the login process. See screenshots attached
(0155340)
hgbot   
2023-09-28 11:40   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/18 [^]
(0155370)
hgbot   
2023-09-29 08:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment [^]
Changeset: d19078ec01f6de8be30fe589d6bedea35f068338
Author: Ander Flores <ander.flores@openbravo.com>
Date: 29-09-2023 06:31:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/commit/d19078ec01f6de8be30fe589d6bedea35f068338 [^]

Fixed ISSUE-53419: Show error message instead of asking for confirmation

---
M web/org.openbravo.events.payment/source/model/paymentLogin.js
---
(0155371)
hgbot   
2023-09-29 08:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/18 [^]
(0155669)
hgbot   
2023-10-09 11:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/19 [^]
(0155763)
hgbot   
2023-10-11 08:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment [^]
Changeset: 3e089a7e3e8fe961a99cd8e5e6f011fc82388247
Author: Ander Flores <ander.flores@openbravo.com>
Date: 09-10-2023 11:25:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/commit/3e089a7e3e8fe961a99cd8e5e6f011fc82388247 [^]

Fixed ISSUE-53419: Change showError for notifyError

---
M web/org.openbravo.events.payment/source/model/paymentLogin.js
---
(0155764)
hgbot   
2023-10-11 08:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/19 [^]