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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023553
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2013-04-15 23:502013-06-26 17:00
ReporterjonalegriaesarteView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0MP25
StatusclosedFix in branchFixed in SCM revisionb66b4699be63
ProjectionnoneETAnoneTarget Version3.0MP25
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023553: Problems with build being terminated for an ondemand instance when same user logs in

DescriptionWith an ondemand instance there each named user is only allowed to have a single session at a time. This means that when same user tries to log in for second time, the first session for this user is
kicked out. When doing a build at that time, in theory the build should continue and terminate normally, but in reality the build is cut off and this is
causing issues.
Steps To Reproduce- Activate an instance using a training activation key
- Install a module an rebuild the system
- Access to the system using the same user (from other browser)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0024136 newAugustoMauch New sessions when system is being rebuilt 

-  Notes
(0058634)
alostale (manager)
2013-05-14 11:59

Proposed fix:

While the system is being rebuilt, allow concurrently access to the same named user with System Admin role.

This prevents the session launching the build process to be killed and allows to solve potential problems during the rebuild.
(0058640)
shuehner (administrator)
2013-05-14 13:47

Or maybe prevent concurrent access giving message to 2nd user trying to do the login.
Problem is also that any concurrent session may make all the rebuild stuck. So allowing any other session may not be a good idea.
(0058649)
dmitry_mezentsev (developer)
2013-05-14 21:24

I like Stefan´s approach more.
From scratch I cannot easily see a use case when during rebuild another system admin access (or any other user access, which I think is already restricted) is needed.
It is also not On Demand specific and can make rebuild more robust.

Go?
(0059523)
alostale (manager)
2013-06-19 11:38

After discussing with Antonio Stefan's and Dimitry's proposal we agreed not to implement it as this would require a deeper analysis to understand in which cases new sessions should be allowed and in which not. A design defect (0024136) has been reported for it.

For this issue the solution will be the initially proposed one.
(0059524)
alostale (manager)
2013-06-19 11:46

I'm unable to reproduce this issue.

Even 2nd session kills 1st one, which launched the rebuild process. Rebuild continues till the end.

In any case the problem is as 1st session is killed, no feedback about progress is given.
(0059525)
hgbot (developer)
2013-06-19 12:30

Repository: erp/devel/pi
Changeset: b66b4699be6320e0831e3423ecb9529787435c63
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jun 19 12:29:08 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b66b4699be6320e0831e3423ecb9529787435c63 [^]

fixed bug 23553: Killed on-demand out of platform session when in build process

---
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0059595)
hudsonbot (developer)
2013-06-20 02:08

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5caf871044ad [^]

Maturity status: Test
(0059684)
AugustoMauch (manager)
2013-06-26 17:00

Code reviewed and verified in pi@6232afbf1b0d

- Issue History
Date Modified Username Field Change
2013-04-15 23:50 jonalegriaesarte New Issue
2013-04-15 23:50 jonalegriaesarte Assigned To => AugustoMauch
2013-04-15 23:50 jonalegriaesarte Modules => Core
2013-04-15 23:50 jonalegriaesarte Triggers an Emergency Pack => No
2013-04-25 12:01 AugustoMauch Assigned To AugustoMauch => alostale
2013-05-14 11:16 alostale Summary Problems with build being terminated for an ondemand instance when another user logs in => Problems with build being terminated for an ondemand instance when same user logs in
2013-05-14 11:19 alostale Description Updated View Revisions
2013-05-14 11:59 alostale Note Added: 0058634
2013-05-14 13:47 shuehner Note Added: 0058640
2013-05-14 13:47 shuehner Issue Monitored: shuehner
2013-05-14 21:24 dmitry_mezentsev Note Added: 0058649
2013-06-19 11:33 alostale Relationship added related to 0024136
2013-06-19 11:38 alostale Note Added: 0059523
2013-06-19 11:46 alostale Note Added: 0059524
2013-06-19 12:30 alostale Review Assigned To => AugustoMauch
2013-06-19 12:30 hgbot Checkin
2013-06-19 12:30 hgbot Note Added: 0059525
2013-06-19 12:30 hgbot Status new => resolved
2013-06-19 12:30 hgbot Resolution open => fixed
2013-06-19 12:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b66b4699be6320e0831e3423ecb9529787435c63 [^]
2013-06-20 02:08 hudsonbot Checkin
2013-06-20 02:08 hudsonbot Note Added: 0059595
2013-06-26 17:00 AugustoMauch Note Added: 0059684
2013-06-26 17:00 AugustoMauch Status resolved => closed
2013-06-26 17:00 AugustoMauch Fixed in Version => 3.0MP25


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker