Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020376
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-04-30 07:412012-05-25 12:09
ReporteriperdomoView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionf6d97f2f6d80
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava versionOpenJDK 1.6.0_24
OS Version3.3.3-1-ARCHDatabase version9.1.3Ant version1.8.2
Product Version3.0MP10.1SCM revision 
Review Assigned To
Web browserApple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020376: A user shouldn't be able to uninstall the Openbravo 3 pack (distribution)

DescriptionOpenbravo 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 SolutionIn the same way we cannot uninstall Core (I guess that this validation is somewhere in the code) we should prevent uninstalling the pack
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0048334)
hgbot (developer)
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 (developer)
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 (developer)
2012-05-04 16:53

Code reviewed and tested in pi@3cbbf8aaac00
(0049009)
hudsonbot (developer)
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

- 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-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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker