Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020376Openbravo ERPA. Platformpublic2012-04-30 07:412012-05-25 12:09
iperdomo 
migueldejuana 
urgentmajoralways
closedfixed 
303.3.3-1-ARCH
3.0MP10.1 
pi 
Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
Core
No
0020376: A user shouldn't be able to uninstall the Openbravo 3 pack (distribution)
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
* Login with the System Admin role
* Go to Module Management window and uninstall Openbravo 3
* Try to use the application
In the same way we cannot uninstall Core (I guess that this validation is somewhere in the code) we should prevent uninstalling the pack
No tags attached.
Issue History
2012-04-30 07:41iperdomoNew Issue
2012-04-30 07:41iperdomoAssigned To => alostale
2012-04-30 07:41iperdomoWeb browser => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
2012-04-30 07:41iperdomoModules => Core
2012-05-03 08:32alostaleAssigned Toalostale => migueldejuana
2012-05-03 15:30hgbotCheckin
2012-05-03 15:30hgbotNote Added: 0048334
2012-05-03 15:30hgbotStatusnew => resolved
2012-05-03 15:30hgbotResolutionopen => fixed
2012-05-03 15:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f6d97f2f6d806990ea3219cafefff2d863610c19 [^]
2012-05-03 15:32migueldejuanaNote Added: 0048335
2012-05-04 16:53guilleaerNote Added: 0048391
2012-05-04 16:53guilleaerStatusresolved => closed
2012-05-04 16:53guilleaerFixed in Version => pi
2012-05-25 12:09hudsonbotCheckin
2012-05-25 12:09hudsonbotNote 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
---
(0048335)
migueldejuana   
2012-05-03 15:32   
Test plan:
- Try to uninstall Openbravo 3.0.
- In the console, enable Openbravo 3.0 checkbox and try to uninstall it.


No risky.
(0048391)
guilleaer   
2012-05-04 16:53   
Code reviewed and tested in pi@3cbbf8aaac00
(0049009)
hudsonbot   
2012-05-25 12:09   
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/5401e185a8b0 [^]

Maturity status: Test