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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030716
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-09-01 12:452015-09-07 16:23
ReportermtaalView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision8af04c39960f
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030716: Offline login, should retrieve new authentication token, 401 from server should result in relogin

DescriptionWith the new transport layer in WebPOS the offline re-login should be revisited.

When a user logs in in offline mode then no request is done to the server. The transport layer uses the new concept of an authentication token. This token is null in case of offline login.

When the server which can provide the MobileCoreLoginHandler login service gets back online the user should be forced to re-login to refresh/create the token on the client.
Steps To ReproduceStart Openbravo
Login to WebPOS
Logout
Bring the server down
Login to WebPOS (offline)
Bring the server back
Notice that the requests to the server have authenticationToken/Client parameters with value null.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0080001)
hgbot (developer)
2015-09-01 15:49

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8af04c39960f45e27962a456788d90754c0c4955
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Sep 01 15:48:26 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8af04c39960f45e27962a456788d90754c0c4955 [^]

Fixed issue 0030716: Offline login, should retrieve new authentication token, 401 from server should result in relogin

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0080202)
mtaal (manager)
2015-09-07 16:23

Reviewed and tested

- Issue History
Date Modified Username Field Change
2015-09-01 12:45 mtaal New Issue
2015-09-01 12:45 mtaal Assigned To => migueldejuana
2015-09-01 12:45 mtaal Triggers an Emergency Pack => No
2015-09-01 12:45 mtaal Review Assigned To => mtaal
2015-09-01 15:49 hgbot Checkin
2015-09-01 15:49 hgbot Note Added: 0080001
2015-09-01 15:49 hgbot Status new => resolved
2015-09-01 15:49 hgbot Resolution open => fixed
2015-09-01 15:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8af04c39960f45e27962a456788d90754c0c4955 [^]
2015-09-07 16:23 mtaal Note Added: 0080202
2015-09-07 16:23 mtaal Status resolved => closed
2015-09-07 16:23 mtaal Fixed in Version => RR15Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker