Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039904Openbravo ERP00. Application dictionarypublic2019-01-08 18:572019-01-18 09:16
egoitz 
caristu 
immediateminorhave not tried
closedfixed 
5
 
3.0PR19Q13.0PR19Q1 
alostale
Core
Production - Confirmed Stable
2018-03-01
3.0PR18Q2
https://code.openbravo.com/erp/devel/pi/rev/6d6a3a710fd21bbc60de46c5778b212c64ec300c [^]
No
0039904: 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
-Logout
-Use the link on a browser
-The login is required
*then you are not redirected to the document specified on the link.

Example:
https://livebuilds.openbravo.com/erp_pi_pgsql/?tabId=186&recordId=05C426107193402BBD8379EF92A63E96 [^]
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.0PR19Q1.1
2019-01-14 10:45hgbotCheckin
2019-01-14 10:45hgbotNote Added: 0108935
2019-01-14 10:45hgbotStatusscheduled => resolved
2019-01-14 10:45hgbotResolutionopen => fixed
2019-01-14 10:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/34ac948c8a6a12558895db8c9a34e9fea1f3a210 [^]
2019-01-14 11:05caristuReview Assigned To => alostale
2019-01-14 13:25caristuTarget Version3.0PR19Q1.1 => 3.0PR19Q1
2019-01-14 13:26hgbotCheckin
2019-01-14 13:26hgbotNote Added: 0108940
2019-01-18 09:16alostaleNote Added: 0109001
2019-01-18 09:16alostaleStatusresolved => closed
2019-01-18 09:16alostaleFixed in Version => 3.0PR19Q1

Notes
(0108935)
hgbot   
2019-01-14 10:45   
Repository: erp/backports/3.0PR19Q1
Changeset: 34ac948c8a6a12558895db8c9a34e9fea1f3a210
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 14 10:37:29 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/34ac948c8a6a12558895db8c9a34e9fea1f3a210 [^]

fixes bug 39904: 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] https://code.openbravo.com/erp/devel/pi/rev/6d6a3a710fd21bbc60de46c5778b212c64ec300c [^]

---
M src/index.jsp
M src/org/openbravo/base/secureApp/LoginHandler.java
M src/org/openbravo/erpCommon/security/Login.html
M web/js/login.js
M web/js/utils.js
---
(0108940)
hgbot   
2019-01-14 13:26   
Repository: erp/backports/3.0PR19Q1
Changeset: 2ed790547310e0cdb79c7b5d499c345f820bddaf
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 14 13:23:02 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/2ed790547310e0cdb79c7b5d499c345f820bddaf [^]

related to issue 39904: make it work also 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/LoginHandler.java
M src/org/openbravo/erpCommon/security/Menu.java
---
(0109001)
alostale   
2019-01-18 09:16   
Reviewed + tested