Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013570Openbravo ERPA. Platformpublic2010-06-07 19:232010-06-10 00:00
plujan 
alostale 
immediatemajorhave not tried
closedfixed 
5
2.50MP18 
 
Core
No
0013570: [NewCR] Having old versions of a module, when installing new major version, a different version is installed
I had old versions of Spanish Taxes and Tax Improvements. When trying to install latest version of Invoice Register Book, a warning is shown and instead of current latest version 1.1.8, version 0.0.5 is installed. See steps.
1. In a MP18, install Taxes: Configuration for Spain 1.1.0 and Spanish Tax Module Improvements 0.0.5
2. Go to Add modules and seek for Invoices Register Book. Install latest version 1.1.8. This version has a dependency for Taxes for Spain v1.2.3
3. When installing, a weird warning message is displayed (see attach) and a wrong version of the module is installed.
NewCR
has duplicate defect 0013569 closed alostale Openbravo ERP [NewCr] Strange warning message when installing a module 
related to defect 0013578 acknowledged alostale Modules If I try to install an old version of a module, the warning message is not clear 
png NewCR_InstallingOnOldVersion.PNG (63,577) 2010-06-07 19:23
https://issues.openbravo.com/file_download.php?file_id=2648&type=bug
png
Issue History
2010-06-07 19:23plujanNew Issue
2010-06-07 19:23plujanAssigned To => alostale
2010-06-07 19:23plujanFile Added: NewCR_InstallingOnOldVersion.PNG
2010-06-07 19:24plujanTag Attached: NewCR
2010-06-08 11:59plujanRelationship addedrelated to 0013578
2010-06-08 16:35hgbotCheckin
2010-06-08 16:35hgbotNote Added: 0028191
2010-06-08 16:35hgbotStatusnew => resolved
2010-06-08 16:35hgbotResolutionopen => fixed
2010-06-08 16:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/e43421f222dfc72f8b5a3f7a13581ec4daa514a1 [^]
2010-06-08 16:59alostaleRelationship addedhas duplicate 0013569
2010-06-09 15:53shuehnerNote Added: 0028212
2010-06-09 15:53shuehnerStatusresolved => closed
2010-06-10 00:00anonymoussf_bug_id0 => 3014010

Notes
(0028191)
hgbot   
2010-06-08 16:35   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: e43421f222dfc72f8b5a3f7a13581ec4daa514a1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Jun 08 16:35:15 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/e43421f222dfc72f8b5a3f7a13581ec4daa514a1 [^]

fixed bug 13570: sort modules regarding dependency order

---
M src/org/openbravo/utility/centralrepository/process/ModuleUtility.java
M src/org/openbravo/utility/centralrepository/ws/erp/CheckConsistency.java
M src/org/openbravo/utility/centralrepository/ws/erp/CheckModule.java
---
(0028212)
shuehner   
2010-06-09 15:53   
Code reviewed with Asier and reported issue tested. Wrong behavior (now finding 1.1.8 most recent version and instead using old 0.0.5) does not happen anymore in the described testcase and also is not reproducible anymore in a second testcase (using the CrClient.java program).

The 'wrong'/yellow error message shown in this case still needs to be fixed (tracked via 13578)