Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031560Retail ModulesWeb POSpublic2015-11-23 17:232015-12-07 11:38
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR16Q1 
mtaal
No
0031560: GetToken shows a warning
GetToken shows a warning:

WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.mobile.core.authenticate.GetToken
- Login
- set in the developers guide this: localStorage.tokenRefreshInterval = 60000
- Press F5
- Wait a minute and GetToken will be executed
- See the warning in the console
Add in GetToken class:

@Override
  protected boolean bypassPreferenceCheck() {
    return true;
  }

  @Override
  protected boolean bypassSecurity() {
    return true;
  }
No tags attached.
Issue History
2015-11-23 17:23migueldejuanaNew Issue
2015-11-23 17:23migueldejuanaAssigned To => migueldejuana
2015-11-23 17:23migueldejuanaTriggers an Emergency Pack => No
2015-11-23 17:28migueldejuanaReview Assigned To => mtaal
2015-11-24 09:09hgbotCheckin
2015-11-24 09:09hgbotNote Added: 0082275
2015-11-24 09:09hgbotStatusnew => resolved
2015-11-24 09:09hgbotResolutionopen => fixed
2015-11-24 09:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e27805f6779a09cf9c3c190e4a770a5a42e28a8 [^]
2015-12-07 11:38mtaalNote Added: 0082587
2015-12-07 11:38mtaalStatusresolved => closed
2015-12-07 11:38mtaalFixed in Version => RR16Q1

Notes
(0082275)
hgbot   
2015-11-24 09:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1e27805f6779a09cf9c3c190e4a770a5a42e28a8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Nov 24 09:09:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1e27805f6779a09cf9c3c190e4a770a5a42e28a8 [^]

Fixed issue 0031560: GetToken shows a warning

---
M src/org/openbravo/mobile/core/authenticate/GetToken.java
---
(0082587)
mtaal   
2015-12-07 11:38   
Reviewed