Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023553 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2013-04-15 23:50 | 2013-06-26 17:00 | |||
Reporter | jonalegriaesarte | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP25 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b66b4699be63 | ||||
Projection | none | ETA | none | Target Version | 3.0MP25 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0023553: Problems with build being terminated for an ondemand instance when same user logs in | |||||||
Description | With 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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 (administrator) 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 |