Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039906Openbravo ERP00. Application dictionarypublic2019-01-08 18:572019-01-18 09:16
immediateminorhave not tried
Production - Confirmed Stable
3.0PR18Q2 [^]
0039906: The link to a concrete document of Openbravo is not followed if there is not session on the browser
When using the link to navigate to a concrete document it works properly when you are logged in Openbravo.
If there is not a session you are requested to do the login and after the login
you are not redirected to the document.

It was working in previous releases.
-Access to Openbravo
-go to sales order window
-clear the filter and open order in form view
-click on the toolbar button to get the link
-Copy the link
-Use the link on a browser
-The login is required
*then you are not redirected to the document specified on the link.

Example: [^]
No tags attached.
blocks defect 0039885 closed caristu The link to a concrete document of Openbravo is not followed if there is not session on the browser 
Issue History
2019-01-09 18:01caristuTypedefect => backport
2019-01-09 18:01caristuTarget Version => 3.0PR18Q3.5
2019-01-14 10:20hgbotCheckin
2019-01-14 10:20hgbotNote Added: 0108933
2019-01-14 10:20hgbotStatusscheduled => resolved
2019-01-14 10:20hgbotResolutionopen => fixed
2019-01-14 10:20hgbotFixed in SCM revision => [^]
2019-01-14 10:20caristuReview Assigned To => alostale
2019-01-14 13:36hgbotCheckin
2019-01-14 13:36hgbotNote Added: 0108942
2019-01-18 09:16alostaleNote Added: 0109003
2019-01-18 09:16alostaleStatusresolved => closed
2019-01-18 09:16alostaleFixed in Version => 3.0PR18Q3.5

2019-01-14 10:20   
Repository: erp/backports/3.0PR18Q3.5
Changeset: fff5a908a14e97502f173272adaf2e97acdaf76f
Author: Carlos Aristu <carlos.aristu <at>>
Date: Mon Jan 14 09:48:39 2019 +0100
URL: [^]

fixes bug 39906: link to a document isn't followed properly after login

  Before[1] the URL query string used to specify the link to a concrete document was being stored in session. After that changeset the code to save that value in session was no longer being executed, so it was not possible to recover the document link information.

  To solve this problem now we keep the query string with the link information in the URL, and we retrieve it from there when needed.

  [1] [^]

M src/index.jsp
M src/org/openbravo/base/secureApp/
M src/org/openbravo/erpCommon/security/Login.html
M web/js/login.js
M web/js/utils.js
2019-01-14 13:36   
Repository: erp/backports/3.0PR18Q3.5
Changeset: 2127426d9e96fcfb8bd6d1c44a9f914206175b83
Author: Carlos Aristu <carlos.aristu <at>>
Date: Mon Jan 14 13:36:45 2019 +0100
URL: [^]

related to issue 39906: make it work when redirecting to Menu.html

  This flow happens when some kind of license restriction is detected during the login process

M src/org/openbravo/base/secureApp/
M src/org/openbravo/erpCommon/security/
2019-01-18 09:16   
reviewed + tested