Notes |
|
|
Solution of this issue should be solved modifying the request to avoid to end in error 401.
|
|
|
(0073513)
|
mtaal
|
2015-01-15 11:45
|
|
Hi Javier,
I looked at this, but 401 is a valid response to an unauthorized request.
What is the issue/problem here?
gr. Martin |
|
|
|
This issue was created due to the fact that this request creates noise when analyzing the Web POS data via APPDynamics.
The solution is to replace the Context class by a class which is not secured, make it respond with an error in case there is no valid session for that cookie, and modify the response callback so that it reads the error and acts appropriately. |
|
|
(0074273)
|
hgbot
|
2015-02-09 10:28
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5fcb45743bb71b5b8546461587b7eaf0f79d774a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Feb 09 10:28:15 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5fcb45743bb71b5b8546461587b7eaf0f79d774a [^]
Fixed issue 0028134: Remove error 401 when you do the login and it is not possible to recover a session
---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src/org/openbravo/mobile/core/login/Context.java
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0074274)
|
hgbot
|
2015-02-09 10:31
|
|
|
|
(0074290)
|
hgbot
|
2015-02-09 18:18
|
|
Repository: erp/devel/pi
Changeset: 73a05f67730fcbbd254d14c42e95659e90a88d03
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Feb 09 18:17:21 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/73a05f67730fcbbd254d14c42e95659e90a88d03 [^]
Fixed issue 0028134: Remove error 401 when you do the login and it is not possible to recover a session
Override sendRedirect method in order to avoid changing the original response
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/servlet/CalloutHttpServletResponse.java
---
|
|
|
(0074291)
|
hgbot
|
2015-02-09 18:19
|
|
|
|
|
|
|
|
|