Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013560Openbravo ERPA. Platformpublic2010-06-07 14:062010-06-09 00:00
shuehner 
alostale 
normalmajorhave not tried
closedfixed 
5
 
 
Core
No
0013560: [NewCR] Its possible to delete a module even if it has published versions
When deleting a module in (DeleteModule.java) there's a check which should prohibit deleting a module having versions.

However the process doesn't stop after this error check and still deletes the module.
Need to use the DeleteModule url manually for that case ,as the delete button is also not shown in the UI if the module has any published versions.
NewCR
Issue History
2010-06-07 14:06shuehnerNew Issue
2010-06-07 14:06shuehnerAssigned To => alostale
2010-06-07 14:06shuehnerTag Attached: NewCR
2010-06-07 15:50hgbotCheckin
2010-06-07 15:50hgbotNote Added: 0028065
2010-06-07 15:50hgbotStatusnew => resolved
2010-06-07 15:50hgbotResolutionopen => fixed
2010-06-07 15:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/0e4eb091b0de50beb7bbf108473f00d3bb2cd3a6 [^]
2010-06-08 19:52shuehnerNote Added: 0028197
2010-06-08 19:52shuehnerStatusresolved => closed
2010-06-09 00:00anonymoussf_bug_id0 => 3013461

Notes
(0028065)
hgbot   
2010-06-07 15:50   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: 0e4eb091b0de50beb7bbf108473f00d3bb2cd3a6
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 07 15:50:31 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/0e4eb091b0de50beb7bbf108473f00d3bb2cd3a6 [^]

fixed bug 13560: [NewCR] Its possible to delete a module even if it has published versions

---
M src/org/openbravo/utility/centralrepository/ui/sso/DeleteModule.java
---
(0028197)
shuehner   
2010-06-08 19:52   
Reviewed+tested. Now deletion does not happen anymore when published version exist (and error message stating that fact is returned in the json response instead). Module deletion still does work for a module not having any published versions (i.e. just registered)