Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014381Openbravo ERPZ. Otherspublic2010-08-30 17:122010-12-09 16:05
shuehner 
dbaz 
normalminorhave not tried
closedfixed 
5
2.50 
 
User Interface Application
No
0014381: Problems with deactivated/timed-out sessions and layout
There are two issues with sessions which are no longer active and the layout shown when trying to do the next action in this non-active sessions.

a.)
Use AutologonAuthentication manager
access application (new ui), switch role to Openbravo Admin, open purchase order window, execute sql 'delete from ad_session' (forces deactivation of all sessions), click new
-> see first attached screenshot for wrong layout (user is logged out, auto-logged-in then complete layout is shown inside tab of layout used before logout

b.)
Use standard DefaultAuthentication manager

access application (new ui), switch role to Openbravo Admin, open purchase order window, execute sql 'delete from ad_session' (forces deactivation of all sessions), click new
See the second attached screenshot for login page with wrong layout
See third attached screenshot for layout after logging in again
No tags attached.
has duplicate defect 0014153 closed mtaal Re-login after time out results in double tab rows 
related to defect 00144813.0RC3 closed dbaz The Tomcat process restart keeps the upper menu frame 
related to defect 0014486 closed mtaal Problem with session timeout/invalidation & seam 
png 14381_1.png (36,645) 2010-08-30 17:15
https://issues.openbravo.com/file_download.php?file_id=2986&type=bug
png

png 14381_2.png (40,761) 2010-08-30 17:15
https://issues.openbravo.com/file_download.php?file_id=2987&type=bug
png

png 14381_3.png (49,965) 2010-08-30 17:15
https://issues.openbravo.com/file_download.php?file_id=2988&type=bug
png
Issue History
2010-08-30 17:12shuehnerNew Issue
2010-08-30 17:12shuehnerAssigned To => mtaal
2010-08-30 17:15shuehnerFile Added: 14381_1.png
2010-08-30 17:15shuehnerFile Added: 14381_2.png
2010-08-30 17:15shuehnerFile Added: 14381_3.png
2010-08-31 09:54hgbotCheckin
2010-08-31 09:54hgbotNote Added: 0030513
2010-08-31 09:55mtaalNote Added: 0030514
2010-08-31 09:55mtaalAssigned Tomtaal => dbaz
2010-08-31 11:53dbazRelationship addedhas duplicate 0014153
2010-09-05 14:19mtaalAssigned Todbaz => mtaal
2010-09-05 22:35mtaalAssigned Tomtaal => dbaz
2010-09-06 13:45hgbotCheckin
2010-09-06 13:45hgbotNote Added: 0030647
2010-09-06 15:01hgbotCheckin
2010-09-06 15:01hgbotNote Added: 0030650
2010-09-06 15:04dbazStatusnew => scheduled
2010-09-06 15:04dbazfix_in_branch => pi
2010-09-06 15:04dbazStatusscheduled => resolved
2010-09-06 15:04dbazResolutionopen => fixed
2010-09-07 09:18hudsonbotCheckin
2010-09-07 09:18hudsonbotNote Added: 0030721
2010-09-07 09:18hudsonbotCheckin
2010-09-07 09:18hudsonbotNote Added: 0030722
2010-09-07 18:18shuehnerNote Added: 0030781
2010-09-07 18:18shuehnerStatusresolved => new
2010-09-07 18:18shuehnerResolutionfixed => open
2010-09-08 10:26hgbotCheckin
2010-09-08 10:26hgbotNote Added: 0030822
2010-09-08 10:26hgbotStatusnew => resolved
2010-09-08 10:26hgbotResolutionopen => fixed
2010-09-08 10:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/85b11893f4ed824dd6149a4247937778513be679 [^]
2010-09-08 15:41dbazRelationship addedrelated to 0014481
2010-09-08 17:27shuehnerRelationship addedrelated to 0014486
2010-09-08 17:27shuehnerNote Added: 0030856
2010-09-08 17:27shuehnerStatusresolved => closed
2010-12-09 16:05anonymoussf_bug_id0 => 3133427

Notes
(0030513)
hgbot   
2010-08-31 09:54   
Repository: erp/mods/org.openbravo.client.kernel
Changeset: 9bdaa0a3d6ef46056ecfc1de0fe915a50408c5e0
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Aug 31 09:53:52 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.kernel/rev/9bdaa0a3d6ef46056ecfc1de0fe915a50408c5e0 [^]

Related to issue 14381: Problems with deactivated/timed-out sessions and layout

---
M src/org/openbravo/client/kernel/templates/application_js.ftl
---
(0030514)
mtaal   
2010-08-31 09:55   
The changeset should solve the situation depicted in the first and third picture.
However, the second one is not solved. I see a javascript error:

Error: menuFrame.getAppUrlFromMenu is not a function
Source File: http://localhost:8080/openbravo/web/js/utils.js [^]
Line: 2588

Re-assigning to David to take a look.

gr. Martin
(0030647)
hgbot   
2010-09-06 13:45   
Repository: erp/devel/pi
Changeset: 0cc4d8b99f15849202f40cad1603efb050181758
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Sep 06 13:45:20 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0cc4d8b99f15849202f40cad1603efb050181758 [^]

Related to issue 14381 and 14153: Removed JS when login appears inside a tab

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0030650)
hgbot   
2010-09-06 15:01   
Repository: erp/devel/pi
Changeset: 3d28f6f1ac67449d61ea40c9883624beeab8f0c5
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Sep 06 15:00:26 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3d28f6f1ac67449d61ea40c9883624beeab8f0c5 [^]

Related to issue 14381 and 14153: Now Login can not be opened inside a MDI tab

---
M src/org/openbravo/erpCommon/security/Login_F1.html
---
(0030721)
hudsonbot   
2010-09-07 09:18   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/0cc4d8b99f15 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030722)
hudsonbot   
2010-09-07 09:18   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3d28f6f1ac67 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030781)
shuehner   
2010-09-07 18:18   
Reopened as the use case a.) (with AutoLogonAuthManager) is still not working correctly... The second b.) usecase is working after.

When resolving please also mark the related 14153 as resolved, too.
(0030822)
hgbot   
2010-09-08 10:26   
Repository: erp/mods/org.openbravo.client.application
Changeset: 85b11893f4ed824dd6149a4247937778513be679
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 08 10:26:27 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/85b11893f4ed824dd6149a4247937778513be679 [^]

Fixes issue 14381: Problems with deactivated/timed-out sessions and layout, Fixes issue 14153: Re-login after time out results in double tab rows

---
M src/org/openbravo/client/application/templates/layout.js.ftl
---
(0030856)
shuehner   
2010-09-08 17:27   
Testing working ok now. The login page does reload itself in the main windows(in pi, post MP21) if it has been opened in a tab. Additionally the new layout has a similar check to not show itself inside a tab.