Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0027380 | Retail Modules | Web POS | public | 2014-08-19 21:33 | 2016-03-09 19:22 | |||||||||||||||||||||
Reporter | Orekaria | |||||||||||||||||||||||||
Assigned To | Orekaria | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | unable to reproduce | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | Orekaria | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0027380: Stabilization: After log in, sometimes, the server is returning a 401: non authorized code | |||||||||||||||||||||||||
Description | Stabilization: after log in, sometimes, the server is returning a 401: non authorized code If the session opened in the server loses the authenticated state when the user have logged in, this state will be returned | |||||||||||||||||||||||||
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"); | |||||||||||||||||||||||||
Proposed Solution | 1. Fix/send the redirection to loginURL when the authentication fails 2. Change the way that mobile.core checks if the user is authenticated (no 401 errors should be used) | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | terminalNotLoading.png (99,646) 2014-08-19 21:33 https://issues.openbravo.com/file_download.php?file_id=7144&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2014-08-19 21:33 | Orekaria | New Issue | ||||||||||||||||||||||||
2014-08-19 21:33 | Orekaria | Assigned To | => Orekaria | |||||||||||||||||||||||
2014-08-19 21:33 | Orekaria | File Added: terminalNotLoading.png | ||||||||||||||||||||||||
2014-08-19 21:33 | Orekaria | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2014-08-19 21:34 | Orekaria | Relationship added | blocks 0027329 | |||||||||||||||||||||||
2014-08-19 21:34 | Orekaria | Summary | Stabilization: after log in, sometimes, the server is returning a 401: non authorized code => Stabilization: After log in, sometimes, the server is returning a 401: non authorized code | |||||||||||||||||||||||
2014-08-19 21:35 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6375#r6375 | |||||||||||||||||||||||
2014-08-19 21:39 | Orekaria | Proposed Solution updated | ||||||||||||||||||||||||
2014-08-21 10:00 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=6392#r6392 | |||||||||||||||||||||||
2014-08-22 02:49 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6411#r6411 | |||||||||||||||||||||||
2014-08-22 09:18 | Orekaria | Relationship added | blocks 0027413 | |||||||||||||||||||||||
2014-08-22 13:04 | Orekaria | Relationship added | depends on 0027200 | |||||||||||||||||||||||
2014-09-22 16:22 | mtaal | Target Version | RR14Q4 => | |||||||||||||||||||||||
2016-03-09 19:22 | Orekaria | Review Assigned To | => Orekaria | |||||||||||||||||||||||
2016-03-09 19:22 | Orekaria | Note Added: 0084856 | ||||||||||||||||||||||||
2016-03-09 19:22 | Orekaria | Status | new => closed | |||||||||||||||||||||||
2016-03-09 19:22 | Orekaria | Resolution | open => unable to reproduce |
Notes | |||||
|
|||||
|
|