Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023553 | Openbravo ERP | A. Platform | public | 2013-04-15 23:50 | 2013-06-26 17:00 |
|
Reporter | jonalegriaesarte | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP25 | Fixed in Version | 3.0MP25 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
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) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0024136 | | new | AugustoMauch | New sessions when system is being rebuilt |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=4715#r4715 |
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 |
Notes |
|
|
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. |
|
|
|
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. |
|
|
|
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? |
|
|
|
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. |
|
|
|
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
|
2013-06-19 12:30
|
|
|
|
|
|
|
|
Code reviewed and verified in pi@6232afbf1b0d |
|