Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035913Retail ModulesWeb POSpublic2017-05-03 17:462017-05-17 19:15
adrianromero 
jorge-garcia 
urgentmajorsometimes
closedfixed 
5
 
RR17Q3 
marvintm
No
0035913: [SER-QA 2817] The *Good bye* message displayed in the customer display sometimes does not appear
When the user logs out, depending on the network conditions, the *Good bye* message sometimes appears and sometimes does not.

It seems the problem is because this message is displayed during the logout process and if the template for the *Good bye* message takes longer to be loaded in the Web POS than the logout process, then the message is not displayed
* Simulate slow network conditions. In chrome developer tools, in the network tab select GPRS network
* Log out from webpos
* Observe the message *Good bye* does not appear in the customer display
Trigger to logout in the callback where the goodbye template is sent to the hardware manager. The goodbye template is cached when the login is done
SER-QA
Issue History
2017-05-03 17:46adrianromeroNew Issue
2017-05-03 17:46adrianromeroAssigned To => Retail
2017-05-03 17:46adrianromeroResolution time => 1494972000
2017-05-03 17:46adrianromeroTriggers an Emergency Pack => No
2017-05-03 17:47adrianromeroTag Attached: SER-QA
2017-05-04 10:57jorge-garciaStatusnew => scheduled
2017-05-04 10:57jorge-garciaAssigned ToRetail => jorge-garcia
2017-05-04 10:58jorge-garciaProposed Solution updated
2017-05-04 10:58jorge-garciaProposed Solution updated
2017-05-05 08:32hgbotCheckin
2017-05-05 08:32hgbotNote Added: 0096408
2017-05-05 08:32hgbotStatusscheduled => resolved
2017-05-05 08:32hgbotResolutionopen => fixed
2017-05-05 08:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dbe860b88fe61cf02bdef5c606a03a631cc25f0d [^]
2017-05-17 19:15marvintmReview Assigned To => marvintm
2017-05-17 19:15marvintmStatusresolved => closed
2017-05-17 19:15marvintmFixed in Version => RR17Q3

Notes
(0096408)
hgbot   
2017-05-05 08:32   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dbe860b88fe61cf02bdef5c606a03a631cc25f0d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu May 04 11:43:55 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dbe860b88fe61cf02bdef5c606a03a631cc25f0d [^]

Fixed issue 35913: [SER-QA 2817] The *Good bye* message displayed in the
customer display sometimes does not appear

The solution is to trigger the logout in the calback of the request to send the
goodbye template.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---