Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053419
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Events for Paymentsmajoralways2023-09-08 11:362023-10-11 08:55
ReportermalsasuaView Statuspublic 
Assigned ToTriage Platform Conn 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053419: Using Event Payments, when a payment device is not responding the login is locked

DescriptionDuring 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
Steps To Reproduce. 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
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2023-09-11 16-32-47.png [^] (81,619 bytes) 2023-09-11 16:33


png file icon image.png [^] (135,221 bytes) 2023-09-11 16:36


png file icon Screenshot from 2023-09-14 13-46-48.png [^] (631,345 bytes) 2023-09-14 13:49

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0154682)
malsasua (developer)
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 (manager)
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 (developer)
2023-09-28 11:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/18 [^]
(0155370)
hgbot (developer)
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 (developer)
2023-09-29 08:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/18 [^]
(0155669)
hgbot (developer)
2023-10-09 11:24

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/19 [^]
(0155763)
hgbot (developer)
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 (developer)
2023-10-11 08:55

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/19 [^]

- Issue History
Date Modified Username Field Change
2023-09-08 11:36 malsasua New Issue
2023-09-08 11:36 malsasua Assigned To => Triage Platform Conn
2023-09-08 11:36 malsasua Triggers an Emergency Pack => No
2023-09-11 16:33 malsasua File Added: Screenshot from 2023-09-11 16-32-47.png
2023-09-11 16:34 malsasua Note Added: 0154682
2023-09-11 16:36 malsasua File Added: image.png
2023-09-14 13:48 adrianromero Note Added: 0154850
2023-09-14 13:49 adrianromero File Added: Screenshot from 2023-09-14 13-46-48.png
2023-09-26 13:36 malsasua Steps to Reproduce Updated View Revisions
2023-09-28 11:40 hgbot Note Added: 0155340
2023-09-29 08:31 hgbot Resolution open => fixed
2023-09-29 08:31 hgbot Status new => closed
2023-09-29 08:31 hgbot Note Added: 0155370
2023-09-29 08:31 hgbot Note Added: 0155371
2023-10-09 11:24 hgbot Note Added: 0155669
2023-10-11 08:55 hgbot Note Added: 0155763
2023-10-11 08:55 hgbot Note Added: 0155764


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker