Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034426Retail ModulesWeb POSpublic2016-11-04 11:122016-12-19 06:24
jorge-garcia 
mario_castello 
normalminoralways
closedfixed 
5
 
RR16Q4RR16Q4 
marvintm
2016-09-19
RR16Q2.3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/200182f3db29 [^]
No
0034426: Login window is loaded even if the terminal does not exist in the database
Login window is loaded even if the terminal does not exist in the database.
Try to login here

http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=PEPE#login [^]

Wrong: The login window is rendered.
Solution: The login window should not be rendered and a popup should be shown indication the terminal name doesn't exist (check screenshot attached).

This is happening since 16Q2.3.
No tags attached.
blocks defect 0034396 closed mario_castello Login window is loaded even if the terminal does not exist in the database 
Issue History
2016-11-08 15:42mario_castelloTypedefect => backport
2016-11-08 15:42mario_castelloTarget Version => RR16Q4
2016-12-06 10:54hgbotCheckin
2016-12-06 10:54hgbotNote Added: 0092127
2016-12-06 10:54hgbotStatusscheduled => resolved
2016-12-06 10:54hgbotResolutionopen => fixed
2016-12-06 10:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/832ae441d73b3fcbc628d1a28ee321f5ae62010c [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/98b592247d5ab064a1971328989b2d0e37dad1ff [^]
2016-12-09 13:27marvintmReview Assigned To => marvintm
2016-12-09 13:27marvintmStatusresolved => closed
2016-12-09 13:27marvintmFixed in Version => RR16Q4
2016-12-09 15:19hgbotCheckin
2016-12-09 15:19hgbotNote Added: 0092254
2016-12-09 15:19hgbotStatusclosed => resolved
2016-12-09 15:19hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/98b592247d5ab064a1971328989b2d0e37dad1ff [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/f67e5733625d5b30df59b2c4fa5c99e732df9d05 [^]
2016-12-09 15:20marvintmStatusresolved => closed
2016-12-16 08:40hgbotCheckin
2016-12-16 08:40hgbotNote Added: 0092446
2016-12-16 08:40hgbotStatusclosed => resolved
2016-12-16 08:40hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/f67e5733625d5b30df59b2c4fa5c99e732df9d05 [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/f67e5733625d5b30df59b2c4fa5c99e732df9d05 [^]
2016-12-19 06:24priyamNote Added: 0092745
2016-12-19 06:24priyamStatusresolved => closed

Notes
(0092127)
hgbot   
2016-12-06 10:54   
Repository: retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal
Changeset: 98b592247d5ab064a1971328989b2d0e37dad1ff
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Nov 04 16:37:03 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/98b592247d5ab064a1971328989b2d0e37dad1ff [^]

Fixes issue 34426, backport of issue 34396: Added validation for the terminal list to prevent throwed an unhandled exception.

When the terminal not exist the terminalList are empty and the process are throwing an exception when try to get an object from an empty list.

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
---
(0092254)
hgbot   
2016-12-09 15:19   
Repository: retail/backports/3.0RR16Q4/pi-mobile
Changeset: f67e5733625d5b30df59b2c4fa5c99e732df9d05
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 07 10:42:20 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/f67e5733625d5b30df59b2c4fa5c99e732df9d05 [^]

Fixes issue 34426, backport of issue 34396: Added test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I34396_VerifyLoginNotExitsTerminal.java
---
(0092446)
hgbot   
2016-12-16 08:40   
Repository: tools/automation/pi-mobile
Changeset: f67e5733625d5b30df59b2c4fa5c99e732df9d05
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Dec 07 10:42:20 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f67e5733625d5b30df59b2c4fa5c99e732df9d05 [^]

Fixes issue 34426, backport of issue 34396: Added test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I34396_VerifyLoginNotExitsTerminal.java
---
(0092745)
priyam   
2016-12-19 06:24   
Closing as merge of pi-mobiles Q4 tag updated the issues.