Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009390Openbravo ERPA. Platformpublic2009-06-08 17:132009-06-20 00:00
AinhoaPagola 
alostale 
urgentmajorhave not tried
closedfixed 
20Ubuntu 8.4
main 
pi 
Core
No
0009390: Module unistallation is not properly done: window left inconsistent
I have sucessfully installed and unistalled a module. After that, a window I had previously modified throws an error related to the module. The window is not working anymore.

I attach the module I have develop where the issue is reproduceable.
* Create a module
* Add some columns to a table -> Example C_salary Category add c_currency_id
* Add some fields to its window -> Salary Category
* Compile and check that the fields have being created.

* Uninstall the module
* Go to the window to check that the fields are not there:
Grid view is fine, but clicking on new an error is thrown:
       
ERROR: column c_salary_category.em_hcmc_c_currency_id does not exist

2.50MP2, Modularity
related to defect 0009403 closed alostale After installing a template that hides fields in several windows, these windows are not compiled. 
? org.openbravo.hcm.common-1.0.0.obx (145,342) 2009-06-08 17:13
https://issues.openbravo.com/file_download.php?file_id=1404&type=bug
Issue History
2009-06-08 17:13AinhoaPagolaNew Issue
2009-06-08 17:13AinhoaPagolaAssigned To => rafaroda
2009-06-08 17:13AinhoaPagolaFile Added: org.openbravo.hcm.common-1.0.0.obx
2009-06-09 10:54rafarodaAssigned Torafaroda => alostale
2009-06-09 10:54rafarodaPrioritynormal => high
2009-06-09 10:54rafarodaStatusnew => scheduled
2009-06-09 10:54rafarodaversion => main
2009-06-09 10:54rafarodaDescription Updated
2009-06-09 19:31AinhoaPagolaPriorityhigh => urgent
2009-06-10 12:39alostaleTag Attached: 2.50MP2
2009-06-10 12:39alostaleRelationship addedhas duplicate 0009403
2009-06-10 13:01alostaleRelationship deletedhas duplicate 0009403
2009-06-10 13:01alostaleRelationship addedrelated to 0009403
2009-06-11 15:02hgbotCheckin
2009-06-11 15:02hgbotNote Added: 0017214
2009-06-11 15:02hgbotStatusscheduled => resolved
2009-06-11 15:02hgbotResolutionopen => fixed
2009-06-11 15:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/88e93b5b7c41ce5114d47cceaaa4bc4a996af7c3 [^]
2009-06-12 13:45AinhoaPagolaNote Added: 0017259
2009-06-18 10:52AinhoaPagolaTag Attached: Modularity
2009-06-19 12:47sureshbabuStatusresolved => closed
2009-06-19 12:47sureshbabuNote Added: 0017472
2009-06-19 12:47sureshbabuFixed in Version => pi
2009-06-20 00:00anonymoussf_bug_id0 => 2809274

Notes
(0017214)
hgbot   
2009-06-11 15:02   
Repository: erp/devel/pi
Changeset: 88e93b5b7c41ce5114d47cceaaa4bc4a996af7c3
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jun 11 15:02:20 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/88e93b5b7c41ce5114d47cceaaa4bc4a996af7c3 [^]

fixed bug 9403, fixed bug 9390: Execute compile.complte when applying modules depending on the case.

It is executed when:
-There's at least one module to uninstall
-There's at least one template to install

---
M build.xml
M src/org/openbravo/erpCommon/ad_process/ApplyModules.java
M src/org/openbravo/erpCommon/ad_process/ApplyModules_data.xsql
---
(0017259)
AinhoaPagola   
2009-06-12 13:45   
I have tested it with Human Capital Management module and it is working fine.
(0017472)
sureshbabu   
2009-06-19 12:47   
Tested in Pi