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

View Revisions: Issue #27380 All Revisions ] Back to Issue ]
Summary 0027380: Stabilization: After log in, sometimes, the server is returning a 401: non authorized code
Revision 2014-08-22 02:49 by Orekaria
Steps To Reproduce Verify the test jobs, find a job with the attached screenshot
Verify that in the browser log this line is logged:

  [2014-08-19T17:47:54+0000] [SEVERE] http://127.0.0.1/ret-test-pgsql/org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.login.Context/%7B%22parameters%22:%7B%22ignoreForConnectionStatus%22:%7B%22value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D [^] 0:0 Failed to load resource: the server responded with a status of 401 (Unauthorized)


Verify that the 401 response is used to check if the client is logged in (in ob-terminal-component.js, initializeCommonComponents method):

  me.preLoadContext(function () {
    new OB.DS.Request('org.openbravo.mobile.core.login.Context').exec({
      ignoreForConnectionStatus: true
    }, function (inResponse) {
      ...


Verify that the AuthenticationManager.java class, authenticate method has this line:

  final String customLoginURL = (String) request.getAttribute("loginURL");
Revision 2014-08-19 21:35 by Orekaria
Steps To Reproduce Verify the test jobs, find a job with the attached screenshot
Verify that in the browser log this line is logged:

  [2014-08-19T17:47:54+0000] [SEVERE] http://127.0.0.1/ret-test-pgsql/org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.login.Context/%7B%22parameters%22:%7B%22ignoreForConnectionStatus%22:%7B%22value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D [^] 0:0 Failed to load resource: the server responded with a status of 401 (Unauthorized)


Verify that the 401 response is used to check is the client is logged in (in ob-terminal-component.js, initializeCommonComponents method):

  me.preLoadContext(function () {
    new OB.DS.Request('org.openbravo.mobile.core.login.Context').exec({
      ignoreForConnectionStatus: true
    }, function (inResponse) {
      ...


Verify that the AuthenticationManager.java class, authenticate method has this line:

  final String customLoginURL = (String) request.getAttribute("loginURL");
Revision 2014-08-19 21:34 by Orekaria
Steps To Reproduce Verify the test jobs, find a job with the attached screenshot
Verify that in the browser log this line is logged:

  [2014-08-19T17:47:54+0000] [SEVERE] http://127.0.0.1/ret-test-pgsql/org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.login.Context/%7B%22parameters%22:%7B%22ignoreForConnectionStatus%22:%7B%22value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D [^] 0:0 Failed to load resource: the server responded with a status of 401 (Unauthorized)



Verify that the 401 response is used to check is the client is logged in (in ob-terminal-component.js, initializeCommonComponents method):

  me.preLoadContext(function () {
    new OB.DS.Request('org.openbravo.mobile.core.login.Context').exec({
      ignoreForConnectionStatus: true
    }, function (inResponse) {
      ...


Verify that the AuthenticationManager.java class, authenticate method has this line:

  final String customLoginURL = (String) request.getAttribute("loginURL");


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker