Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031302Retail ModulesWeb POSpublic2015-10-29 14:222015-11-02 11:10
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR15Q3.2RR15Q3.2 
marvintm
No
0031302: Using terminal authentication logs are stores without device information
If someone enable terminal authentication and then the cache is removed, in the first login the deviceid used by logging mechanism is not loaded because it is not in the application cache.

It cause that the log messages are stored without device information
1. Enable terminal authentication
2. remove cache
3. go to login page
4. link device
5. Do login
6. In the console you will see that this value is null
OB.MobileApp.model.get('logConfiguration').deviceIdentifier;
This value is the one used to set the device id in the log messages.
7. Generate log -> it will appear without device id
When the device is linked set the value for this field if it is null
No tags attached.
blocks defect 0031299RR16Q1 closed guilleaer Using terminal authentication logs are stored without device information 
Issue History
2015-10-29 15:33guilleaerTypedefect => backport
2015-10-29 15:33guilleaerTarget VersionRR16Q1 => RR15Q3.2
2015-11-02 10:51hgbotCheckin
2015-11-02 10:51hgbotNote Added: 0081417
2015-11-02 10:51hgbotStatusscheduled => resolved
2015-11-02 10:51hgbotResolutionopen => fixed
2015-11-02 10:51hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal/rev/b4b9131d627e8ebe4523c836df4127e19aa0b773 [^]
2015-11-02 11:10marvintmReview Assigned To => marvintm
2015-11-02 11:10marvintmStatusresolved => closed
2015-11-02 11:10marvintmFixed in Version => RR15Q3.2

Notes
(0081417)
hgbot   
2015-11-02 10:51   
Repository: retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal
Changeset: b4b9131d627e8ebe4523c836df4127e19aa0b773
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Nov 02 10:51:20 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q3.2/org.openbravo.retail.posterminal/rev/b4b9131d627e8ebe4523c836df4127e19aa0b773 [^]

Fixed issue 31302: Log client in working fine when terminal authentication is enabled

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