Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0020376 | Openbravo ERP | A. Platform | public | 2012-04-30 07:41 | 2012-05-25 12:09 |
|
| Reporter | iperdomo | |
| Assigned To | migueldejuana | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 30 | OS Version | 3.3.3-1-ARCH |
| Product Version | 3.0MP10.1 | |
| Target Version | | Fixed in Version | pi | |
| Merge Request Status | |
| Review Assigned To | |
| OBNetwork customer | No |
| Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0020376: A user shouldn't be able to uninstall the Openbravo 3 pack (distribution) |
| Description | Openbravo is a distribution (a pack of several modules). There is a non declared dependency of Core with some framework modules. Uninstalling Openbravo 3 pack leaves your instance in a inconsistent state.
Check this thread:
forge.openbravo.com/projects/openbravoerp/forum/error-in-module-management-window-while-uninstal-a-module-p7029925.html |
| Steps To Reproduce | * Login with the System Admin role
* Go to Module Management window and uninstall Openbravo 3
* Try to use the application |
| Proposed Solution | In the same way we cannot uninstall Core (I guess that this validation is somewhere in the code) we should prevent uninstalling the pack |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2012-04-30 07:41 | iperdomo | New Issue | |
| 2012-04-30 07:41 | iperdomo | Assigned To | => alostale |
| 2012-04-30 07:41 | iperdomo | Web browser | => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
| 2012-04-30 07:41 | iperdomo | Modules | => Core |
| 2012-04-30 07:41 | iperdomo | OBNetwork customer | => No |
| 2012-05-03 08:32 | alostale | Assigned To | alostale => migueldejuana |
| 2012-05-03 15:30 | hgbot | Checkin | |
| 2012-05-03 15:30 | hgbot | Note Added: 0048334 | |
| 2012-05-03 15:30 | hgbot | Status | new => resolved |
| 2012-05-03 15:30 | hgbot | Resolution | open => fixed |
| 2012-05-03 15:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f6d97f2f6d806990ea3219cafefff2d863610c19 [^] |
| 2012-05-03 15:32 | migueldejuana | Note Added: 0048335 | |
| 2012-05-04 16:53 | guilleaer | Note Added: 0048391 | |
| 2012-05-04 16:53 | guilleaer | Status | resolved => closed |
| 2012-05-04 16:53 | guilleaer | Fixed in Version | => pi |
| 2012-05-25 12:09 | hudsonbot | Checkin | |
| 2012-05-25 12:09 | hudsonbot | Note Added: 0049009 | |
|
Notes |
|
|
(0048334)
|
|
hgbot
|
|
2012-05-03 15:30
|
|
Repository: erp/devel/pi
Changeset: f6d97f2f6d806990ea3219cafefff2d863610c19
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu May 03 15:29:05 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f6d97f2f6d806990ea3219cafefff2d863610c19 [^]
Fixed issue 20376: A user can't uninstall the Openbravo 3 pack
There are 2 ways to prevent unintalling Openbravo 3. Disabling the checkbox of the tree and doing a validation in java.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_forms/ModuleManagementInstalled.html
M src/org/openbravo/erpCommon/modules/UninstallModule.java
---
|
|
|
|
|
Test plan:
- Try to uninstall Openbravo 3.0.
- In the console, enable Openbravo 3.0 checkbox and try to uninstall it.
No risky. |
|
|
|
|
|
Code reviewed and tested in pi@3cbbf8aaac00 |
|
|
|
|
|