Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0020630 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2012-05-29 12:28 | 2012-05-30 18:13 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP12 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b87d6a90f2db | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0020630: smartbuild should not fix the maintenance flag if update.database didn't finish successfully the last time it was run | |||||||
Description | In Openbravo, if a rebuild doesn't finish successfully, the system enters "maintenance mode", in which the user can only log as system administrator. Smartbuild can set the flag which disables this mode. However, this currently happens always, regardless of the fact that smartbuild may or may not update (and therefore, fix) the database, depending on whether the flag -Dlocal was used or not. This can give the user the false sensation that he is safe, whereas in reality, his database may still be broken. | |||||||
Steps To Reproduce | - Initiate update.database, and make it fail at some point in the middle of the process. - Do smartbuild. - Restart tomcat. - Log in Openbravo. Realize that you are not in maintenance mode, but the database is clearly not right. | |||||||
Proposed Solution | Smartbuild will only update the maintenance flag if it can find by looking in the current status of the system that the last update.database didn't fail. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0049422) hgbot (developer) 2012-05-29 12:31 |
Repository: erp/devel/pi Changeset: b87d6a90f2dba83b7e58a8307b1bdd4eabea4d47 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue May 29 12:30:40 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b87d6a90f2dba83b7e58a8307b1bdd4eabea4d47 [^] Fixed issue 20630. Maintenance flag will only be set if update.database finished correctly. --- M build.xml --- |
(0049434) AugustoMauch (administrator) 2012-05-29 16:52 |
Code reviewed and verified in pi@faec5225c28a |
(0049507) hudsonbot (viewer) 2012-05-30 18:13 |
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/3752a665362c [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-29 12:28 | marvintm | New Issue | |
2012-05-29 12:28 | marvintm | Assigned To | => marvintm |
2012-05-29 12:28 | marvintm | Modules | => Core |
2012-05-29 12:28 | marvintm | OBNetwork customer | => No |
2012-05-29 12:31 | hgbot | Checkin | |
2012-05-29 12:31 | hgbot | Note Added: 0049422 | |
2012-05-29 12:31 | hgbot | Status | new => resolved |
2012-05-29 12:31 | hgbot | Resolution | open => fixed |
2012-05-29 12:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b87d6a90f2dba83b7e58a8307b1bdd4eabea4d47 [^] |
2012-05-29 16:52 | AugustoMauch | Note Added: 0049434 | |
2012-05-29 16:52 | AugustoMauch | Status | resolved => closed |
2012-05-29 16:52 | AugustoMauch | Fixed in Version | => 3.0MP12 |
2012-05-30 18:13 | hudsonbot | Checkin | |
2012-05-30 18:13 | hudsonbot | Note Added: 0049507 |
Copyright © 2000 - 2009 MantisBT Group |