Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011818Openbravo ERPB. User interfacepublic2009-12-18 12:532009-12-24 12:06
plujan 
iperdomo 
immediatemajorhave not tried
closedfixed 
5
2.50MP9 
2.50MP10pi 
Core
No
0011818: Required additional updates shows only the last available version not the minimum
If 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.
1. 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.
Current 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
No tags attached.
related to defect 0011863 closed alostale "needed" plus empty on message when updating Core 
related to defect 0012021 closed iperdomo Incorrect message when user tries to install commercial module for which they do not have a license 
diff issue_11818_prototype_patch.diff (8,645) 2009-12-20 22:49
https://issues.openbravo.com/file_download.php?file_id=2060&type=bug
Issue History
2009-12-18 12:53plujanNew Issue
2009-12-18 12:53plujanAssigned To => shuehner
2009-12-18 12:54plujanStatusnew => scheduled
2009-12-18 12:54plujanfix_in_branch => pi
2009-12-18 13:42jpabloaeIssue Monitored: jpabloae
2009-12-20 22:40shuehnerNote Added: 0022964
2009-12-20 22:49shuehnerFile Added: issue_11818_prototype_patch.diff
2009-12-20 22:50shuehnerNote Added: 0022965
2009-12-20 22:52shuehnerAssigned Toshuehner => iperdomo
2009-12-21 09:05harpreetIssue Monitored: harpreet
2009-12-22 11:36hgbotCheckin
2009-12-22 11:36hgbotNote Added: 0023002
2009-12-22 11:36hgbotStatusscheduled => resolved
2009-12-22 11:36hgbotResolutionopen => fixed
2009-12-22 11:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9161ae7683baba2d7ed8968710217cbda5507364 [^]
2009-12-22 19:43plujanNote Added: 0023025
2009-12-22 19:43plujanStatusresolved => closed
2009-12-22 19:43plujanFixed in Version => pi
2009-12-23 00:00anonymoussf_bug_id0 => 2919667
2009-12-23 19:58plujanRelationship addedrelated to 0011863
2009-12-24 12:06hudsonbotCheckin
2009-12-24 12:06hudsonbotNote Added: 0023055
2010-01-22 09:23alostaleRelationship addedrelated to 0012021

Notes
(0022964)
shuehner   
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   
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   
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   
2009-12-22 19:43   
tested in PI
(0023055)
hudsonbot   
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 [^]
---