Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037792Retail ModulesWeb POSpublic2018-01-31 13:202018-02-28 16:57
umartirena 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR18Q2 
marvintm
No
0037792: Web POS breaks if wrong password is entered while doing terminal authentication link
Web POS breaks if wrong password is entered while doing terminal authentication link. It is not possible to again try to login and link the terminal unless cache memory is deleted.
Having "Terminal Authentication enabled" preference Enabled, go to POS Terminal window and search for VBS-1 terminal:
 * Set VBS-1 as Terminal Key Identifier.
 * Unlink VBS-1 terminal if it is linked to any terminal in POS Terminal window.

Log in VBS-1 terminal in Web POS
 * Terminal Selection popup appears to make the physical link.
 * Enter VBS-1 as Terminal Key Identifier.
 * Enter Openbravo as user
 * Enter "password" as password (wrong password)
 * Click Enter.
 * "There are no users for the undefined terminal or the terminal does not exist. Please contact the system administrator." popup appears.
 * Click Enter.
 * Web POS grey background window appears and it is not possible to continue. If F5 is done, again "There are no users for the undefined terminal or the terminal does not exist. Please contact the system administrator." popup appears.
 * The only way to go back to Terminal Selection popup is cleaning cache memory.
 
No tags attached.
Issue History
2018-01-31 13:20umartirenaNew Issue
2018-01-31 13:20umartirenaAssigned To => Retail
2018-01-31 13:20umartirenaTriggers an Emergency Pack => No
2018-01-31 13:20umartirenaResolution time => 1518908400
2018-01-31 13:21umartirenaResolution time1518908400 => 1519167600
2018-02-27 09:37jorge-garciaStatusnew => scheduled
2018-02-27 09:37jorge-garciaAssigned ToRetail => jorge-garcia
2018-02-28 09:37hgbotCheckin
2018-02-28 09:37hgbotNote Added: 0102864
2018-02-28 09:37hgbotStatusscheduled => resolved
2018-02-28 09:37hgbotResolutionopen => fixed
2018-02-28 09:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b9890697613ff2926ad7466f689752d225625815 [^]
2018-02-28 09:37hgbotCheckin
2018-02-28 09:37hgbotNote Added: 0102865
2018-02-28 16:57marvintmReview Assigned To => marvintm
2018-02-28 16:57marvintmStatusresolved => closed
2018-02-28 16:57marvintmFixed in Version => RR18Q2

Notes
(0102864)
hgbot   
2018-02-28 09:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b9890697613ff2926ad7466f689752d225625815
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Feb 27 08:50:05 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b9890697613ff2926ad7466f689752d225625815 [^]

Fixed issue 37792: Web POS breaks if wrong password is entered while doing
terminal authentication link

The exception was managed incorrectly in client side.

The solution is to implement a AuthenticationException in the server with a
standard message and changed also the exception flow in client side.

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0102865)
hgbot   
2018-02-28 09:37   
Repository: tools/automation/pi-mobile
Changeset: cf9a4a214d85f5b40a550389f61e9ed181f11555
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Feb 27 17:10:37 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/cf9a4a214d85f5b40a550389f61e9ed181f11555 [^]

Verifies issue 37792: Web POS breaks if wrong password is entered while doing
terminal authentication link

Added test I37792_TerminalAuthenticationWrongPassword.

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I37792_TerminalAuthenticationWrongPassword.java
---