Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014658Openbravo ERP01. General setuppublic2010-09-22 18:522011-05-24 10:57
elopio 
sivaraman 
normalmajoralways
closedfixed 
5
3.0RC2 
 
Core
No
0014658: Wrong message when trying to install an obx that requires a lower version
When a module depends, for example, on core 2.50 and has no end version, if you try to install it on a machine with core 3.0 it will give a cryptic error. Something like:

{module} depends on module "null" in version "2.50.0000", max available version "3.0.8293".
login on a Openbravo 3.0 RC2 context.
Go to General Setup > Application > Module Management
Go to add modules tab
Click Browse File System
Select Hello World 1.0.6 (<http://forge.openbravo.com/projects/helloworld/module> [^]) and click continue.
First, instead of "null", the name of the dependency should be shown.
Then, a better explanation should be given. With current message it seems that required version (2.50) is greater than the one that is available (3.0).

Something like: {module} depends on module "{dependency}" in version "2.50", but only version "3.0" is available.
closingMay2011
related to design defect 0010625 acknowledged Triage Platform Base User interface issue: Not clear why I can not install a module 
png Ekrankopio.png (45,672) 2010-10-04 20:19
https://issues.openbravo.com/file_download.php?file_id=3159&type=bug
png
Issue History
2010-09-22 18:52elopioNew Issue
2010-09-22 18:52elopioAssigned To => adrianromero
2010-09-22 18:52elopioRelationship addedrelated to 0010625
2010-10-04 20:19elopioFile Added: Ekrankopio.png
2010-10-11 12:06sivaramanAssigned Toadrianromero => sivaraman
2010-10-11 13:24hgbotCheckin
2010-10-11 13:24hgbotNote Added: 0031754
2010-10-11 13:24hgbotStatusnew => resolved
2010-10-11 13:24hgbotResolutionopen => fixed
2010-10-11 13:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cdc4d38ef729cf7c23c713728fe3ce08c356b1bf [^]
2010-10-11 13:36sivaramanNote Added: 0031755
2010-10-12 06:33hudsonbotCheckin
2010-10-12 06:33hudsonbotNote Added: 0031771
2011-05-24 09:59dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0031754)
hgbot   
2010-10-11 13:24   
Repository: erp/devel/pi
Changeset: cdc4d38ef729cf7c23c713728fe3ce08c356b1bf
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Mon Oct 11 16:53:02 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/cdc4d38ef729cf7c23c713728fe3ce08c356b1bf [^]

Fixes issue 14658: Wrong message when trying to install an obx that requires a lower version

Error Message has been modified as per the Reporter's request.
No Impacts.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/modules/VersionUtility.java
---
(0031755)
sivaraman   
2010-10-11 13:36   
Steps to test:

1. Log on to Openbravo with Administrator role
2. Go to General Setup > Application > Module Management
3. Go to add modules tab
4. Click Browse File System
5. Select Hello World 1.0.6 (http://forge.openbravo.com/projects/helloworld/module [^]) and click continue
6. Verify if error is shown as per the following format
   {module} depends on module "{dependency}" in version "2.50", but only version "3.0"

* Please note, <name not available> will appear if DEPENDANT_MODULE_NAME is missing in AD_DEPENDANCY_MODULE.XML of the OBX file
(0031771)
hudsonbot   
2010-10-12 06:33   
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/cdc4d38ef729 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/23d64ad8bd7b [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18516.obx [^]