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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011818
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajorhave not tried2009-12-18 12:532009-12-24 12:06
ReporterplujanView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision9161ae7683ba
ProjectionnoneETAnoneTarget Version2.50MP10
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011818: Required additional updates shows only the last available version not the minimum

DescriptionIf I am about to install a module that depends of a later version of core, the Required Additional Updates shows information only for last available version.
See steps.
Steps To Reproduce1. Use 2.50mp8
2. Go to Module Console
3. Choose a module to install. Module depends of 2.50mp9.
4. Since mp10 is available, the Required Additional Updates section of the Installing window shows 2.50mp10. This is not correct. See proposed solution.
Proposed SolutionCurrent context: 2.50.xxx (i.e. mp8)
Module A. Dependency: 2.50.yyy (i.e. mp9)
Last available core in Central Repository: 2.50.zzz (i.e. mp10)

When trying to install Module_A in mp8, I should get this message:


Current version: 2.50.xxx
Required version: 2.50.yyy
Version to install (last version available): 2.50.zzz
TagsNo tags attached.
Attached Filesdiff file icon issue_11818_prototype_patch.diff [^] (8,645 bytes) 2009-12-20 22:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0011863 closedalostale "needed" plus empty on message when updating Core 
related to defect 0012021 closediperdomo Incorrect message when user tries to install commercial module for which they do not have a license 

-  Notes
(0022964)
shuehner (administrator)
2009-12-20 22:40

A naive formatting of the requested information could look like this. All info is printed in a single line, as the current layout prints a single line per additionally needed install or update:

for installs:
Invoices Register Book 1.1.1 (needed 1.1.0) - view details

for updates:
core 2.50.15487 (current 2.50.15307, needed 2.50.15487) - view details
(0022965)
shuehner (administrator)
2009-12-20 22:50

Attached prototype patch which implements the output as described in the previous comments which the exception that showing the currently installed version for updates is not yet implemented (todo entry in the patch).
(0023002)
hgbot (developer)
2009-12-22 11:36

Repository: erp/devel/pi
Changeset: 9161ae7683baba2d7ed8968710217cbda5507364
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Dec 22 11:35:50 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9161ae7683baba2d7ed8968710217cbda5507364 [^]

Fixes issue 11818: Added logic to display different messages based on modules info

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement_ErrorCommercial.html
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement_InstallP1.html
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement_InstallP1.xml
---
(0023025)
plujan (manager)
2009-12-22 19:43

tested in PI
(0023055)
hudsonbot (developer)
2009-12-24 12:06

---
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/9161ae7683ba [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/237ec18eff4d [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15792.obx [^]
---

- Issue History
Date Modified Username Field Change
2009-12-18 12:53 plujan New Issue
2009-12-18 12:53 plujan Assigned To => shuehner
2009-12-18 12:54 plujan Status new => scheduled
2009-12-18 12:54 plujan fix_in_branch => pi
2009-12-18 13:42 jpabloae Issue Monitored: jpabloae
2009-12-20 22:40 shuehner Note Added: 0022964
2009-12-20 22:49 shuehner File Added: issue_11818_prototype_patch.diff
2009-12-20 22:50 shuehner Note Added: 0022965
2009-12-20 22:52 shuehner Assigned To shuehner => iperdomo
2009-12-21 09:05 harpreet Issue Monitored: harpreet
2009-12-22 11:36 hgbot Checkin
2009-12-22 11:36 hgbot Note Added: 0023002
2009-12-22 11:36 hgbot Status scheduled => resolved
2009-12-22 11:36 hgbot Resolution open => fixed
2009-12-22 11:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9161ae7683baba2d7ed8968710217cbda5507364 [^]
2009-12-22 19:43 plujan Note Added: 0023025
2009-12-22 19:43 plujan Status resolved => closed
2009-12-22 19:43 plujan Fixed in Version => pi
2009-12-23 00:00 anonymous sf_bug_id 0 => 2919667
2009-12-23 19:58 plujan Relationship added related to 0011863
2009-12-24 12:06 hudsonbot Checkin
2009-12-24 12:06 hudsonbot Note Added: 0023055
2010-01-22 09:23 alostale Relationship added related to 0012021


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker