Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029352
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-03-19 21:152015-03-30 15:46
ReporterOrekariaView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q2
StatusclosedFix in branchFixed in SCM revision77428ae5701f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029352: Stabilization: For internal user tracking, the user id should be used instead of the user name

DescriptionStabilization: For internal user tracking, the user id should be used instead of the user name
Steps To ReproduceIn 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0029342 closedOrekaria Stabilization: The 'cacheAvailableForUser' localStorage value is not reset when the cache is missing the terminal data 
blocks feature request 0029377RR15Q3 closedOrekaria Stabilization: RR15Q2 related 

-  Notes
(0075826)
hgbot (developer)
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 (manager)
2015-03-27 14:50

This change breaks offline login.
(0076128)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2015-03-19 21:15 Orekaria New Issue
2015-03-19 21:15 Orekaria Assigned To => Retail
2015-03-19 21:15 Orekaria Triggers an Emergency Pack => No
2015-03-19 21:15 Orekaria Assigned To Retail => Orekaria
2015-03-19 21:15 Orekaria Relationship added depends on 0029342
2015-03-19 21:25 Orekaria Summary 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
2015-03-19 21:25 Orekaria Description Updated View Revisions
2015-03-20 19:07 hgbot Checkin
2015-03-20 19:07 hgbot Note Added: 0075826
2015-03-20 19:07 hgbot Status new => resolved
2015-03-20 19:07 hgbot Resolution open => fixed
2015-03-20 19:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/131a8573173eeb94782296e0e07aa90b868c6bd9 [^]
2015-03-23 14:54 Orekaria Relationship added blocks 0029377
2015-03-27 14:50 marvintm Note Added: 0076090
2015-03-27 14:50 marvintm Status resolved => new
2015-03-27 14:50 marvintm Resolution fixed => open
2015-03-30 11:33 hgbot Checkin
2015-03-30 11:33 hgbot Note Added: 0076128
2015-03-30 11:33 hgbot Status new => resolved
2015-03-30 11:33 hgbot Resolution open => fixed
2015-03-30 11:33 hgbot Fixed in SCM revision http://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:45 marvintm Review Assigned To => marvintm
2015-03-30 15:46 marvintm Status resolved => closed
2015-03-30 15:46 marvintm Fixed in Version => RR15Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker