Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031301Retail ModulesWeb POSpublic2015-10-29 14:222015-11-11 18:16
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR15Q4RR15Q4 
marvintm
No
0031301: 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 => RR15Q4
2015-11-11 10:43hgbotCheckin
2015-11-11 10:43hgbotNote Added: 0081682
2015-11-11 10:43hgbotCheckin
2015-11-11 10:43hgbotNote Added: 0081683
2015-11-11 10:43hgbotStatusscheduled => resolved
2015-11-11 10:43hgbotResolutionopen => fixed
2015-11-11 10:43hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/a37131a2d48ded0db60c7f45768639fc28199c96 [^]
2015-11-11 10:43hgbotStatusscheduled => resolved
2015-11-11 18:16marvintmReview Assigned To => marvintm
2015-11-11 18:16marvintmStatusresolved => closed
2015-11-11 18:16marvintmFixed in Version => RR15Q4
2015-11-12 16:45gorka_gilNote Deleted: 0081683

Notes
(0081682)
hgbot   
2015-11-11 10:43   
Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: a37131a2d48ded0db60c7f45768639fc28199c96
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Oct 30 09:14:32 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/a37131a2d48ded0db60c7f45768639fc28199c96 [^]

fixed issue 31301: device id is set fine when terminal authentication is enabled

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