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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014658
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2010-09-22 18:522011-05-24 10:57
ReporterelopioView Statuspublic 
Assigned Tosivaraman 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncdc4d38ef729
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0RC2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014658: Wrong message when trying to install an obx that requires a lower version

DescriptionWhen 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".
Steps To Reproducelogin 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.
Proposed SolutionFirst, 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.
TagsclosingMay2011
Attached Filespng file icon Ekrankopio.png [^] (45,672 bytes) 2010-10-04 20:19

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0010625 acknowledgedTriage Platform Base User interface issue: Not clear why I can not install a module 

-  Notes
(0031754)
hgbot (developer)
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 (reporter)
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 (developer)
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 [^]

- Issue History
Date Modified Username Field Change
2010-09-22 18:52 elopio New Issue
2010-09-22 18:52 elopio Assigned To => adrianromero
2010-09-22 18:52 elopio Relationship added related to 0010625
2010-10-04 20:19 elopio File Added: Ekrankopio.png
2010-10-11 12:06 sivaraman Assigned To adrianromero => sivaraman
2010-10-11 13:24 hgbot Checkin
2010-10-11 13:24 hgbot Note Added: 0031754
2010-10-11 13:24 hgbot Status new => resolved
2010-10-11 13:24 hgbot Resolution open => fixed
2010-10-11 13:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cdc4d38ef729cf7c23c713728fe3ce08c356b1bf [^]
2010-10-11 13:36 sivaraman Note Added: 0031755
2010-10-12 06:33 hudsonbot Checkin
2010-10-12 06:33 hudsonbot Note Added: 0031771
2011-05-24 09:59 dalsasua Tag Attached: closingMay2011
2011-05-24 10:57 dalsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker