Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020630 | Openbravo ERP | A. Platform | public | 2012-05-29 12:28 | 2012-05-30 18:13 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP12 | |
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. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | |