Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0016635 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Central Repository | major | have not tried | 2011-04-04 17:30 | 2014-04-01 21:46 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4e9bcba22329 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0036618) hgbot (developer) 2011-05-10 12:19 |
Repository: erp/pmods/org.openbravo.utility.centralrepository Changeset: 4e9bcba22329703ba9237a2ec33aa30ccf44759e Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue May 10 12:19:11 2011 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/4e9bcba22329703ba9237a2ec33aa30ccf44759e [^] Fixed bug 16635: preprocess to prevent this case: -Instaled module A in version 2 -Trying to intall module B, compatible with A 1, not compatible with A 2 Preprocess removed A 2, process added A 1: effect was A was downgraded --- M src/org/openbravo/utility/centralrepository/ws/erp/CheckConsistency.java --- |
(0065709) plujan (viewer) 2014-04-01 21:46 |
Closed as marked as Resolved for too long |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |