Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020624 | Openbravo ERP | A. Platform | public | 2012-05-28 15:40 | 2012-05-30 18:13 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | high | Severity | major | Reproducibility | always |
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 | 0020624: The check for local changes should be done before installing any modules or updates |
Description | Currently, the update.database task searches for possible local changes (in structure and data) in the database, and stops if it finds them, because the process would revert them.
However, in case a user installs a module in an instance with local changes, and then tries to do a rebuild (which stops because these local changes are found), he is in a difficult situation, because to be able to export his changes correctly, he needs to revert the installed modules first.
The correct thing to do would be to check if these local changes exist before allowing the user to install anything. This way, the changes would be detected early, and the user would be able to resolve his problems much easier. |
Steps To Reproduce | - Create a local change (by changing an AD element, for instance).
- Try to install a module. Notice that it can be done.
- Try to rebuild. The rebuild will fail, because the check for local changes will find your change. |
Proposed Solution | The install process will automatically search for local changes before doing anything else. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-28 15:40 | marvintm | New Issue | |
2012-05-28 15:40 | marvintm | Assigned To | => marvintm |
2012-05-28 15:40 | marvintm | Modules | => Core |
2012-05-28 15:40 | marvintm | OBNetwork customer | => No |
2012-05-28 17:54 | hgbot | Checkin | |
2012-05-28 17:54 | hgbot | Note Added: 0049381 | |
2012-05-28 17:54 | hgbot | Status | new => resolved |
2012-05-28 17:54 | hgbot | Resolution | open => fixed |
2012-05-28 17:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/237ce7d9967e2037002129532d6e92e7bf58ab5e [^] |
2012-05-29 08:35 | alostale | Note Added: 0049394 | |
2012-05-29 08:35 | alostale | Status | resolved => closed |
2012-05-29 08:35 | alostale | Fixed in Version | => 3.0MP12 |
2012-05-30 18:13 | hudsonbot | Checkin | |
2012-05-30 18:13 | hudsonbot | Note Added: 0049499 | |
Notes |
|
(0049381)
|
hgbot
|
2012-05-28 17:54
|
|
Repository: erp/devel/pi
Changeset: 237ce7d9967e2037002129532d6e92e7bf58ab5e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 28 17:37:06 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/237ce7d9967e2037002129532d6e92e7bf58ab5e [^]
Fixed issue 20624. When installing/updating modules, the check for local changes will be done.
This check will from now on be done early, before installing anything, to prevent a situation in which the user installs modules, but then the rebuild fails with local changes. If these changes are detected early, then the user can more easily fix them by just exporting his changes before proceeding with the installation.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
A src/org/openbravo/erpCommon/ad_forms/ModuleManagement_LocalChanges.html
A src/org/openbravo/erpCommon/ad_forms/ModuleManagement_LocalChanges.xml
---
|
|
|
|
code reviewed and verified on pi@0ed463f70606 |
|
|
|
|