Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017834Openbravo ERPA. Platformpublic2011-06-30 10:262011-07-01 12:19
psarobe 
alostale 
immediatemajoralways
closedfixed 
5
2.50MP30 
2.50MP312.50MP31 
No
Core
No
0017834: Message info is not correct when you update from 2.50MP30+SPLP to next MP and next version of SPLP
Message info is not correct when you update from 2.50MP30+SPLP to next MP and next version of SPLP

See attach SPLP1.png: Notice that I have installed 2.50MP30 plus SPLP 1.4.0

When I scan for updates I have this message. See attach SPLP.png

Notice that message is not correct at all. In fact finally does everything correct because is retrieving me the correct new version for the SPLP which is 1.4.1 but at some point it is getting confuse because in the message is telling me that the correct version that i need is SPLP 1.2.0 for APRM
1. Being in 2.50MP30
2. Install SPLP 1.4.0 and rebuild
3. Scan for updates
No tags attached.
png SPLP1.PNG (38,765) 2011-06-30 10:26
https://issues.openbravo.com/file_download.php?file_id=4246&type=bug
png

png SPLP.PNG (109,253) 2011-06-30 10:27
https://issues.openbravo.com/file_download.php?file_id=4247&type=bug
png
Issue History
2011-06-30 10:26psarobeNew Issue
2011-06-30 10:26psarobeAssigned To => alostale
2011-06-30 10:26psarobeFile Added: SPLP1.PNG
2011-06-30 10:26psarobeModules => Core
2011-06-30 10:26psarobeOBNetwork customer => No
2011-06-30 10:27psarobeFile Added: SPLP.PNG
2011-06-30 10:32psarobeStatusnew => scheduled
2011-06-30 10:32psarobefix_in_branch => pi
2011-06-30 11:25dmitry_mezentsevIssue Monitored: dmitry_mezentsev
2011-06-30 11:33alostaleNote Added: 0038616
2011-06-30 15:44alostaleNote Added: 0038631
2011-06-30 15:47hgbotCheckin
2011-06-30 15:47hgbotNote Added: 0038632
2011-06-30 15:47hgbotStatusscheduled => resolved
2011-06-30 15:47hgbotResolutionopen => fixed
2011-06-30 15:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/e671062c8976f788e27b069fee495055f2aa74c2 [^]
2011-07-01 12:19psarobeNote Added: 0038669
2011-07-01 12:19psarobeStatusresolved => closed
2011-07-01 12:19psarobeFixed in Version => 2.50MP31

Notes
(0038616)
alostale   
2011-06-30 11:33   
As discussed with Dmitry, proposed solution:

Merge message shouldn't be shown in case the module that defines the merge depends (at any level) on APRM, and APRM is not installed.
(0038631)
alostale   
2011-06-30 15:44   
This message is shown in 3 places during update:
1. In Update Description field within the module description box.
2. As an info message when installing the update
3. In the description field of Module Detail popup that can be opened when the update installation has begun

Messages for 1 and 2 can be skipped without additional changes in ERP, but 3 cannot be done because CR doesn't receive at this point info about installed modules, just the version to get info about.
(0038632)
hgbot   
2011-06-30 15:47   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: e671062c8976f788e27b069fee495055f2aa74c2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jun 30 15:46:37 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/e671062c8976f788e27b069fee495055f2aa74c2 [^]

fixed bug 17834: Do not show merge message in following case:

APRM is not installed, there is a new version for a module that is merged within another
one that depends at any level in APRM

---
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/WebService3Impl.java
---
(0038669)
psarobe   
2011-07-01 12:19   
Works