Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0016635 | Modules | Central Repository | public | 2011-04-04 17:30 | 2014-04-01 21:46 | |||||||
Reporter | adrianromero | |||||||||||
Assigned To | alostale | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | No | |||||||||||
Regression introduced in release | ||||||||||||
Summary | 0016635: If a module that contains a module script is uninstalled, this module script is not uninstalled and it is executed | |||||||||||
Description | When uninstalling a module that contains a module script, the classes that contains the logic of this module script are not removed and are executed when compiling the application. This is wrong because the module is not installed any longer. | |||||||||||
Steps To Reproduce | This can be tested with the IDL 3.0.0 that contains a module script. This is a sequence that raises this problem: 1.- Install a new Openbravo ERP 3.0 2.- Install IDL Result: Process completed successfully Module successfully installed Initial Data Load - 3.0.0 This module installs a module script in the following location: src-util/modulescript/src/src/org/openbravo/idl/modulescript/RemoveOldIDLEntitiesData.java 3.- Install IDL 4 java Result Process completed successfully Module successfully installed Initial Data Load Extension for Java - 1.0.0 Module successfully installed Initial Data Load - 1.1.8 The IDL has been downgraded to version 1.1.8 (To fix the dependencies of the IDL 4 java is already another issue that must be resolved indepentently) but the module script of 3.0.0 is still installed which is wrong. src-util/modulescript/src/src/org/openbravo/idl/modulescript/RemoveOldIDLEntitiesData.java 5.- execute ant smartbuild -Dlocal=no An error is raised because of the module script: [java] 208870 WARN - SQL Command failed with: ERROR: inserción o actualización en la tabla «idl_fields» viola la llave foránea «idl_field_entities» [java] Detail: La llave (idl_entities_id)=(FF80818124241FE0012424493CA7005A) no está presente en la tabla «idl_entities». [java] 208904 WARN - -- END [java] ALTER TABLE IDL_FIELDS [java] ADD CONSTRAINT IDL_FIELD_ENTITIES FOREIGN KEY (IDL_ENTITIES_ID) REFERENCES IDL_ENTITIES (IDL_ENTITIES_ID) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2011-04-04 17:30 | adrianromero | New Issue | ||||||||||
2011-04-04 17:30 | adrianromero | Assigned To | => alostale | |||||||||
2011-04-04 17:30 | adrianromero | Modules | => Core | |||||||||
2011-04-04 17:30 | adrianromero | OBNetwork customer | => No | |||||||||
2011-04-04 17:30 | adrianromero | Relationship added | related to 0016634 | |||||||||
2011-04-04 17:49 | rafademiguel | Issue Monitored: rafademiguel | ||||||||||
2011-04-05 10:28 | alostale | Status | new => scheduled | |||||||||
2011-04-05 10:28 | alostale | fix_in_branch | => pi | |||||||||
2011-04-05 10:28 | alostale | Target Version | 3.0RC6 => 3.0RC7 | |||||||||
2011-04-05 10:28 | alostale | fix_in_branch | pi => | |||||||||
2011-05-06 19:35 | dmitry_mezentsev | Assigned To | alostale => marvintm | |||||||||
2011-05-10 12:15 | marvintm | Assigned To | marvintm => alostale | |||||||||
2011-05-10 12:15 | marvintm | Target Version | 3.0RC7 => | |||||||||
2011-05-10 12:17 | marvintm | Project | Openbravo ERP => Modules | |||||||||
2011-05-10 12:18 | marvintm | Category | A. Platform => Central Repository | |||||||||
2011-05-10 12:18 | marvintm | version | pi => | |||||||||
2011-05-10 12:19 | hgbot | Checkin | ||||||||||
2011-05-10 12:19 | hgbot | Note Added: 0036618 | ||||||||||
2011-05-10 12:19 | hgbot | Status | scheduled => resolved | |||||||||
2011-05-10 12:19 | hgbot | Resolution | open => fixed | |||||||||
2011-05-10 12:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/4e9bcba22329703ba9237a2ec33aa30ccf44759e [^] | |||||||||
2014-04-01 21:46 | plujan | Note Added: 0065709 | ||||||||||
2014-04-01 21:46 | plujan | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|