Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011871Openbravo ERPA. Platformpublic2009-12-28 18:362010-03-10 18:28
plujan 
alostale 
urgentminorhave not tried
closedfixed 
5
2.50MP10 
2.50MP12 
Core
No
0011871: Dependencies are not properly managed inside Packs
I a pack installed and I am trying to install an update via obx file.
My contents:
Pack_A v1.1.0 containing module_a v1.1.1

obx file contents:
Pack_A v1.2.0 contaning module_a v1.2.0 and module_b v.1.1.0

Module_b has a dependency to module_a v.1.2.0.

When I try to upload the pack, I get a message:
Error: Module_b 1.1.0 depends on module "module_a" in version "1.2.0", max available version "1.1.1".

But the missing module *IS* included in the very same pack I am installing.
See steps.
1. Use an Openbravo instance with Spanish Localization pack pro v1.1.0 installed
2. Check that "Taxes: configuration for Spain (Impuestos para España)" module is installed, version 1.1.1
3. Install the Spanish Localization pack pro v1.2.0 from an obx file (you will need Tax Report Launcher and eInvoice modules)
4. You have an error message saying that "Facturación Electrónica - Facturae 3.1-0.1.1" depends on module "Taxes: configuration for Spain (Impuestos para España)" in version "1.2.0", max available version "1.1.1". See attach.
5. Double check that required module is included in the pack you are installing.
No tags attached.
png 2_50mp10_ErrorInstallingPackPro.PNG (31,421) 2009-12-28 18:36
https://issues.openbravo.com/file_download.php?file_id=2088&type=bug
png

? org.test.pack-1.1.0.obx (3,485) 2010-02-16 13:25
https://issues.openbravo.com/file_download.php?file_id=2222&type=bug
? org.test.pack-1.2.0.obx (4,778) 2010-02-16 13:25
https://issues.openbravo.com/file_download.php?file_id=2223&type=bug
Issue History
2009-12-28 18:36plujanNew Issue
2009-12-28 18:36plujanAssigned To => alostale
2009-12-28 18:36plujanFile Added: 2_50mp10_ErrorInstallingPackPro.PNG
2009-12-28 19:04plujanStatusnew => scheduled
2009-12-28 19:04plujanfix_in_branch => pi
2010-02-16 13:22hgbotCheckin
2010-02-16 13:22hgbotNote Added: 0024404
2010-02-16 13:22hgbotStatusscheduled => resolved
2010-02-16 13:22hgbotResolutionopen => fixed
2010-02-16 13:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f2c3a18ed8f9b22dd50b2a0a20f694c3c060d941 [^]
2010-02-16 13:24alostaleStatusresolved => new
2010-02-16 13:24alostaleResolutionfixed => open
2010-02-16 13:25alostaleFile Added: org.test.pack-1.1.0.obx
2010-02-16 13:25alostaleFile Added: org.test.pack-1.2.0.obx
2010-02-16 13:26alostaleNote Added: 0024405
2010-02-16 13:26alostaleStatusnew => scheduled
2010-02-16 13:26alostaleStatusscheduled => resolved
2010-02-16 13:26alostaleResolutionopen => fixed
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024534
2010-02-19 12:04mtaalNote Added: 0024643
2010-02-19 12:04mtaalStatusresolved => closed
2010-02-19 12:04mtaalFixed in Version => 2.50MP12
2010-02-20 00:00anonymoussf_bug_id0 =>
2010-03-10 18:28anonymoussf_bug_id => 2967968

Notes
(0024404)
hgbot   
2010-02-16 13:22   
Repository: erp/devel/pi
Changeset: f2c3a18ed8f9b22dd50b2a0a20f694c3c060d941
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 16 13:23:11 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f2c3a18ed8f9b22dd50b2a0a20f694c3c060d941 [^]

fixed bug 11871: Dependencies are not properly managed inside Packs

---
M src/org/openbravo/erpCommon/modules/ImportModule.java
M src/org/openbravo/erpCommon/modules/VersionUtility.java
---
(0024405)
alostale   
2010-02-16 13:26   
Uploaded obx files to test
(0024534)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f2c3a18ed8f9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]
(0024643)
mtaal   
2010-02-19 12:04   
tested and works