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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008992
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminorhave not tried2009-05-11 16:202009-06-16 00:00
ReporterplujanView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision5438aedafc40
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008992: When uninstalling a module, if module folder cannot be deleted the behavior is odd

DescriptionI uninstalled a module. For some reason, uninstall could not remove the module's folder. That caused a Warning sign instead of a Success on uninstalling.
But the main issue is that when rebuilding, an exception about a mutant trigger in AD_MODULE table was raised. And rebuild kept failing, so basically I got stuck with an uninstalled module and a pending (but failing) rebuild.

If the cause of the failure had so severe consequences, it is likely to have some nice way to resolve the main issue before.
Steps To ReproduceInstall a module
Open a terminal window and generate some kind of locking on module folder (i.e. generate a swap of an unsaved file)
With the file locked, uninstall the module
A Warning banner is displayed. Note that message is not very clear (and it's a warning, ergo I can continue)
You are prompted to rebuild the system
Launch the rebuild
An exception about a mutant trigger is raised.
Proposed SolutionIf the error was bad enough to prevent a rebuild, an Error like message is more suitable than a Warning. I should not be able to continue neither, and I should have a guide about what went wrong, to solve it and try the failed process again.
Tags250mp2, Modularity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0017050)
hgbot (developer)
2009-06-05 18:19

Repository: erp/devel/pi
Changeset: 5438aedafc4062b7d0d4dc23e517fbc9c3543416
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Jun 05 18:18:43 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5438aedafc4062b7d0d4dc23e517fbc9c3543416 [^]

Fixed issue 8992. Now if the module folder cannot be deleted when uninstalling a module, an error message will be shown, instead of a 'Process completed succesfully' message.

---
M src/org/openbravo/erpCommon/modules/UninstallModule.java
---
(0017292)
sureshbabu (reporter)
2009-06-15 11:01

Tested working fine(not able to reproduce the scenario)

- Issue History
Date Modified Username Field Change
2009-05-11 16:20 plujan New Issue
2009-05-11 16:20 plujan Assigned To => rafaroda
2009-05-11 16:20 plujan Regression testing => No
2009-05-14 17:46 psarobe Tag Attached: Modularity
2009-05-14 17:46 psarobe Tag Attached: 250mp2
2009-05-14 17:47 psarobe Status new => scheduled
2009-05-14 17:47 psarobe fix_in_branch => pi
2009-05-15 09:52 rafaroda Assigned To rafaroda => alostale
2009-05-18 13:10 iciordia Assigned To alostale => marvintm
2009-06-05 18:19 hgbot Checkin
2009-06-05 18:19 hgbot Note Added: 0017050
2009-06-05 18:19 hgbot Status scheduled => resolved
2009-06-05 18:19 hgbot Resolution open => fixed
2009-06-05 18:19 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5438aedafc4062b7d0d4dc23e517fbc9c3543416 [^]
2009-06-15 11:01 sureshbabu Status resolved => closed
2009-06-15 11:01 sureshbabu Note Added: 0017292
2009-06-15 11:01 sureshbabu Fixed in Version => pi
2009-06-16 00:00 anonymous sf_bug_id 0 => 2806847


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker