Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031299Retail ModulesWeb POSpublic2015-10-29 14:222015-11-02 11:11
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR16Q1RR15Q3.2 
marvintm
No
0031299: Using terminal authentication logs are stored 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.
depends on backport 0031301RR15Q4 closed guilleaer Using terminal authentication logs are stores without device information 
depends on backport 0031302RR15Q3.2 closed guilleaer Using terminal authentication logs are stores without device information 
diff fix31299.diff (841) 2015-10-29 14:23
https://issues.openbravo.com/file_download.php?file_id=8666&type=bug
Issue History
2015-10-29 14:22guilleaerNew Issue
2015-10-29 14:22guilleaerAssigned To => guilleaer
2015-10-29 14:22guilleaerTriggers an Emergency Pack => No
2015-10-29 14:23guilleaerFile Added: fix31299.diff
2015-10-29 15:33guilleaerStatusnew => scheduled
2015-10-29 18:02guilleaerSummaryUsing terminal authentication logs are stores without device information => Using terminal authentication logs are stored without device information
2015-10-30 09:15hgbotCheckin
2015-10-30 09:15hgbotNote Added: 0081397
2015-10-30 09:15hgbotStatusscheduled => resolved
2015-10-30 09:15hgbotResolutionopen => fixed
2015-10-30 09:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/01fb3abfb72c5d236fe113e52093c91920dda134 [^]
2015-10-30 11:14guilleaerReview Assigned To => migueldejuana
2015-11-02 11:11marvintmReview Assigned Tomigueldejuana => marvintm
2015-11-02 11:11marvintmStatusresolved => closed
2015-11-02 11:11marvintmFixed in Version => RR15Q3.2

Notes
(0081397)
hgbot   
2015-10-30 09:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 01fb3abfb72c5d236fe113e52093c91920dda134
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Oct 30 09:14:32 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/01fb3abfb72c5d236fe113e52093c91920dda134 [^]

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

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