Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010864 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | unable to reproduce | 2009-10-05 15:07 | 2009-10-17 00:00 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 34c4a57ded90 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0010864: Check for obx consistency when it is exported. | |||||||
Description | Currently it is possible to export obx files which are not consistent: it is possible to define dependencies or inclusions which are actually not correct. For example a package can be defined to contain module A 1.0.0, whereas the actual obx contains module A 0.0.5. When exporting modules this should be verified, and in case it is not satisfied do not allow to the the exportation. | |||||||
Steps To Reproduce | -Create a module A in version 0.0.5 -Create a template -Include within the template module A -Set the module version in the template's inclusion 1.0.0 -Export obx file | |||||||
Proposed Solution | There are 2 kind of check to be performed: *Dependency: -It must be checked the dependencies are actually installed and they are within the range the dependencies define. *Inclusion: -It must be checked the version of the modules that are within the dependencies are exactly the ones that are defined in the inclusion. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0020912) hgbot (developer) 2009-10-09 16:02 |
Repository: erp/devel/pi Changeset: 34c4a57ded905c8f0743f6a94a3335d8b7ab1d38 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Oct 09 16:01:29 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/34c4a57ded905c8f0743f6a94a3335d8b7ab1d38 [^] fixed issue 0010864: Check for obx consistency when it is exported --- M src/org/openbravo/erpCommon/modules/VersionUtility.java M src/org/openbravo/service/system/ModuleValidator.java --- |
(0021125) marvintm (developer) 2009-10-16 17:34 |
I've created two modules. First I created a normal dependency between them, and set it both to a previous version, and to a newer version of the module in the database. It failed on both cases (which is correct). Then I created inclusion dependencies (as before, to a previous and newer version). It also failed on both cases (which is also correct). Therefore the check works correctly. |
Issue History | |||
Date Modified | Username | Field | Change |
2009-10-05 15:07 | alostale | New Issue | |
2009-10-05 15:07 | alostale | Assigned To | => alostale |
2009-10-05 15:08 | alostale | Relationship added | related to 0010677 |
2009-10-06 09:36 | alostale | Relationship added | related to 0010430 |
2009-10-09 10:23 | psarobe | Status | new => scheduled |
2009-10-09 10:23 | psarobe | fix_in_branch | => pi |
2009-10-09 16:02 | hgbot | Checkin | |
2009-10-09 16:02 | hgbot | Note Added: 0020912 | |
2009-10-09 16:02 | hgbot | Status | scheduled => resolved |
2009-10-09 16:02 | hgbot | Resolution | open => fixed |
2009-10-09 16:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/34c4a57ded905c8f0743f6a94a3335d8b7ab1d38 [^] |
2009-10-16 17:34 | marvintm | Status | resolved => closed |
2009-10-16 17:34 | marvintm | Note Added: 0021125 | |
2009-10-17 00:00 | anonymous | sf_bug_id | 0 => 2880779 |
Copyright © 2000 - 2009 MantisBT Group |