Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011871
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2009-12-28 18:362010-03-10 18:28
ReporterplujanView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchpiFixed in SCM revisionf2c3a18ed8f9
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP10SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011871: Dependencies are not properly managed inside Packs

DescriptionI 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.
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Filespng file icon 2_50mp10_ErrorInstallingPackPro.PNG [^] (31,421 bytes) 2009-12-28 18:36


? file icon org.test.pack-1.1.0.obx [^] (3,485 bytes) 2010-02-16 13:25
? file icon org.test.pack-1.2.0.obx [^] (4,778 bytes) 2010-02-16 13:25

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024404)
hgbot (developer)
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 (manager)
2010-02-16 13:26

Uploaded obx files to test
(0024534)
hudsonbot (developer)
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 (manager)
2010-02-19 12:04

tested and works

- Issue History
Date Modified Username Field Change
2009-12-28 18:36 plujan New Issue
2009-12-28 18:36 plujan Assigned To => alostale
2009-12-28 18:36 plujan File Added: 2_50mp10_ErrorInstallingPackPro.PNG
2009-12-28 19:04 plujan Status new => scheduled
2009-12-28 19:04 plujan fix_in_branch => pi
2010-02-16 13:22 hgbot Checkin
2010-02-16 13:22 hgbot Note Added: 0024404
2010-02-16 13:22 hgbot Status scheduled => resolved
2010-02-16 13:22 hgbot Resolution open => fixed
2010-02-16 13:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f2c3a18ed8f9b22dd50b2a0a20f694c3c060d941 [^]
2010-02-16 13:24 alostale Status resolved => new
2010-02-16 13:24 alostale Resolution fixed => open
2010-02-16 13:25 alostale File Added: org.test.pack-1.1.0.obx
2010-02-16 13:25 alostale File Added: org.test.pack-1.2.0.obx
2010-02-16 13:26 alostale Note Added: 0024405
2010-02-16 13:26 alostale Status new => scheduled
2010-02-16 13:26 alostale Status scheduled => resolved
2010-02-16 13:26 alostale Resolution open => fixed
2010-02-18 00:31 hudsonbot Checkin
2010-02-18 00:31 hudsonbot Note Added: 0024534
2010-02-19 12:04 mtaal Note Added: 0024643
2010-02-19 12:04 mtaal Status resolved => closed
2010-02-19 12:04 mtaal Fixed in Version => 2.50MP12
2010-02-20 00:00 anonymous sf_bug_id 0 =>
2010-03-10 18:28 anonymous sf_bug_id => 2967968


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker