Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010791Openbravo ERPA. Platformpublic2009-09-28 14:322009-10-08 00:00
plujan 
alostale 
urgentminorhave not tried
closedfixed 
5
2.50MP6 
 
Core
No
0010791: Wrong error message when uninstalling a module
I have a module "Invoice Register Book" and its spanish translation "Libro de Facturas" as a separate module. If I only select "Invoice Register Book" module and I click the Uninstall button I get a wrong message (see proposed solution):

Error:
Libro de Facturas This module is part of the dependencies for another module, this it cannot be uninstalled.
1. Install Invoice Register Book and Libro de Facturas modules
2. In Module Management Console, select Invoice Register Book module and click the uninstall button. See attach.
Correct message should be:

Error:
Invoice Register Book is part of the dependencies of another installed module and cannot be uninstalled.

Option #2 (more friendly):

Error:
Libro de Facturas module depends of Invoice Register Book, so you have to uninstall Libro de Facturas first.

Option #3 (even more friendly):

Warning:
If you uninstall this module, dependant module Libro de Facturas will be also uninstalled, do you want to continue?
No tags attached.
related to defect 0010790 closed alostale I cannot uninstall a module and its dependant at the same time 
png CMO_DependantModule.PNG (102,921) 2009-09-28 14:32
https://issues.openbravo.com/file_download.php?file_id=1796&type=bug
png
Issue History
2009-09-28 14:32plujanNew Issue
2009-09-28 14:32plujanAssigned To => rafaroda
2009-09-28 14:32plujanFile Added: CMO_DependantModule.PNG
2009-09-29 22:45psarobeAssigned Torafaroda => alostale
2009-09-29 22:45psarobePrioritynormal => urgent
2009-09-29 22:45psarobeStatusnew => scheduled
2009-09-29 22:45psarobeversionmain => 2.50MP6
2009-10-06 10:04alostaleRelationship addedrelated to 0010790
2009-10-06 10:35hgbotCheckin
2009-10-06 10:35hgbotNote Added: 0020737
2009-10-06 10:35hgbotStatusscheduled => resolved
2009-10-06 10:35hgbotResolutionopen => fixed
2009-10-06 10:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/85140c537929475e349c367e4de0bbfcfe5b79a3 [^]
2009-10-07 11:09plujanStatusresolved => closed
2009-10-08 00:00anonymoussf_bug_id0 => 2874372

Notes
(0020737)
hgbot   
2009-10-06 10:35   
Repository: erp/devel/pi
Changeset: 85140c537929475e349c367e4de0bbfcfe5b79a3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Oct 06 10:34:54 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/85140c537929475e349c367e4de0bbfcfe5b79a3 [^]

fixed bug 0010791: Wrong error message when uninstalling a module

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/modules/UninstallModule.java
M src/org/openbravo/erpCommon/modules/UninstallModule_data.xsql
---