Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029352Retail ModulesWeb POSpublic2015-03-19 21:152015-03-30 15:46
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR15Q2 
marvintm
No
0029352: Stabilization: For internal user tracking, the user id should be used instead of the user name
Stabilization: For internal user tracking, the user id should be used instead of the user name
In the browser console,
verify that OB.MobileApp.model.user contains the user name

In the 'ob-terminal-model.js' file,
verify that the OB.Dal.find(<user>,...) are using the user name instead of the id (INCORRECT)
verify that OB.MobileApp.model.user is being used to remember is the user name has cached data (INCORRECT)
No tags attached.
depends on defect 0029342 closed Orekaria Stabilization: The 'cacheAvailableForUser' localStorage value is not reset when the cache is missing the terminal data 
blocks feature request 0029377RR15Q3 closed Orekaria Stabilization: RR15Q2 related 
Issue History
2015-03-19 21:15OrekariaNew Issue
2015-03-19 21:15OrekariaAssigned To => Retail
2015-03-19 21:15OrekariaTriggers an Emergency Pack => No
2015-03-19 21:15OrekariaAssigned ToRetail => Orekaria
2015-03-19 21:15OrekariaRelationship addeddepends on 0029342
2015-03-19 21:25OrekariaSummaryFor internal user tracking, the user id should be used instead of the user name => Stabilization: For internal user tracking, the user id should be used instead of the user name
2015-03-19 21:25OrekariaDescription Updatedbug_revision_view_page.php?rev_id=8047#r8047
2015-03-20 19:07hgbotCheckin
2015-03-20 19:07hgbotNote Added: 0075826
2015-03-20 19:07hgbotStatusnew => resolved
2015-03-20 19:07hgbotResolutionopen => fixed
2015-03-20 19:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/131a8573173eeb94782296e0e07aa90b868c6bd9 [^]
2015-03-23 14:54OrekariaRelationship addedblocks 0029377
2015-03-27 14:50marvintmNote Added: 0076090
2015-03-27 14:50marvintmStatusresolved => new
2015-03-27 14:50marvintmResolutionfixed => open
2015-03-30 11:33hgbotCheckin
2015-03-30 11:33hgbotNote Added: 0076128
2015-03-30 11:33hgbotStatusnew => resolved
2015-03-30 11:33hgbotResolutionopen => fixed
2015-03-30 11:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/131a8573173eeb94782296e0e07aa90b868c6bd9 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/77428ae5701f9a7dc9bbf0ac9511f26123cca7d2 [^]
2015-03-30 15:45marvintmReview Assigned To => marvintm
2015-03-30 15:46marvintmStatusresolved => closed
2015-03-30 15:46marvintmFixed in Version => RR15Q2

Notes
(0075826)
hgbot   
2015-03-20 19:07   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 131a8573173eeb94782296e0e07aa90b868c6bd9
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 19:04:03 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/131a8573173eeb94782296e0e07aa90b868c6bd9 [^]

Fixes issue 29352: 'OB.MobileApp.model.user' has been changed to 'orgUserId'

'orgUserId' is the unique Id of the User table and is the same as in the server

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
M web/org.openbravo.mobile.core/source/component/ob-login.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0076090)
marvintm   
2015-03-27 14:50   
This change breaks offline login.
(0076128)
hgbot   
2015-03-30 11:33   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 77428ae5701f9a7dc9bbf0ac9511f26123cca7d2
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Mar 30 11:27:58 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/77428ae5701f9a7dc9bbf0ac9511f26123cca7d2 [^]

Fixes issue 29352: The userName is used instead of the userId when logging in offline

The problem was that when the application is offline, the user name is the only value available

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---