Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014381
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2010-08-30 17:122010-12-09 16:05
ReportershuehnerView Statuspublic 
Assigned Todbaz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision85b11893f4ed
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesUser Interface Application
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014381: Problems with deactivated/timed-out sessions and layout

DescriptionThere 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
TagsNo tags attached.
Attached Filespng file icon 14381_1.png [^] (36,645 bytes) 2010-08-30 17:15


png file icon 14381_2.png [^] (40,761 bytes) 2010-08-30 17:15


png file icon 14381_3.png [^] (49,965 bytes) 2010-08-30 17:15

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0014153 closedmtaal Re-login after time out results in double tab rows 
related to defect 00144813.0RC3 closeddbaz The Tomcat process restart keeps the upper menu frame 
related to defect 0014486 closedmtaal Problem with session timeout/invalidation & seam 

-  Notes
(0030513)
hgbot (developer)
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 (manager)
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 (developer)
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 (developer)
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 (developer)
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 (developer)
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 (administrator)
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 (developer)
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 (administrator)
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.

- Issue History
Date Modified Username Field Change
2010-08-30 17:12 shuehner New Issue
2010-08-30 17:12 shuehner Assigned To => mtaal
2010-08-30 17:15 shuehner File Added: 14381_1.png
2010-08-30 17:15 shuehner File Added: 14381_2.png
2010-08-30 17:15 shuehner File Added: 14381_3.png
2010-08-31 09:54 hgbot Checkin
2010-08-31 09:54 hgbot Note Added: 0030513
2010-08-31 09:55 mtaal Note Added: 0030514
2010-08-31 09:55 mtaal Assigned To mtaal => dbaz
2010-08-31 11:53 dbaz Relationship added has duplicate 0014153
2010-09-05 14:19 mtaal Assigned To dbaz => mtaal
2010-09-05 22:35 mtaal Assigned To mtaal => dbaz
2010-09-06 13:45 hgbot Checkin
2010-09-06 13:45 hgbot Note Added: 0030647
2010-09-06 15:01 hgbot Checkin
2010-09-06 15:01 hgbot Note Added: 0030650
2010-09-06 15:04 dbaz Status new => scheduled
2010-09-06 15:04 dbaz fix_in_branch => pi
2010-09-06 15:04 dbaz Status scheduled => resolved
2010-09-06 15:04 dbaz Resolution open => fixed
2010-09-07 09:18 hudsonbot Checkin
2010-09-07 09:18 hudsonbot Note Added: 0030721
2010-09-07 09:18 hudsonbot Checkin
2010-09-07 09:18 hudsonbot Note Added: 0030722
2010-09-07 18:18 shuehner Note Added: 0030781
2010-09-07 18:18 shuehner Status resolved => new
2010-09-07 18:18 shuehner Resolution fixed => open
2010-09-08 10:26 hgbot Checkin
2010-09-08 10:26 hgbot Note Added: 0030822
2010-09-08 10:26 hgbot Status new => resolved
2010-09-08 10:26 hgbot Resolution open => fixed
2010-09-08 10:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/85b11893f4ed824dd6149a4247937778513be679 [^]
2010-09-08 15:41 dbaz Relationship added related to 0014481
2010-09-08 17:27 shuehner Relationship added related to 0014486
2010-09-08 17:27 shuehner Note Added: 0030856
2010-09-08 17:27 shuehner Status resolved => closed
2010-12-09 16:05 anonymous sf_bug_id 0 => 3133427


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker