Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013885Openbravo ERP01. General setuppublic2010-07-05 09:432010-07-16 00:00
networkb 
alostale 
immediatemajoralways
closedfixed 
20Community Appliance
2.50MP19 
2.50MP20 
Core
No
0013885: process "install updates" does not work
In Module Management, the process "install updates now" does not work, allthough there are a new version of modules availables.

when you press in "Install Updates Now", a new window is opened, but this window only has the option of cancel, and there is not any module to update.

The problem is reproducible in enviroment updated from 2.50 MP18.

The problem is solved if you execute the next query in database, and run process "check for updates" again:

update ad_module set update_availables=null;

To reproduce the problem:in 2.50MP18 version, there are several updates availables and core
First you update the core to 2.50mp19.
After that, if you try update the others modules, when you press in
"Install Updates Now", a new window is opened, but this window only has the option of cancel, and there is not any module to update.
No tags attached.
Issue History
2010-07-05 09:43networkbNew Issue
2010-07-05 09:43networkbAssigned To => adrianromero
2010-07-05 09:59adrianromeroAssigned Toadrianromero => alostale
2010-07-05 12:46hgbotCheckin
2010-07-05 12:46hgbotNote Added: 0029050
2010-07-05 12:46hgbotStatusnew => resolved
2010-07-05 12:46hgbotResolutionopen => fixed
2010-07-05 12:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/372a01f54d05924a5511faa2308a28cbe8dd2682 [^]
2010-07-05 20:41hudsonbotCheckin
2010-07-05 20:41hudsonbotNote Added: 0029071
2010-07-15 17:10marvintmNote Added: 0029356
2010-07-15 17:10marvintmStatusresolved => closed
2010-07-16 00:00anonymoussf_bug_id0 => 3030269

Notes
(0029050)
hgbot   
2010-07-05 12:46   
Repository: erp/devel/pi
Changeset: 372a01f54d05924a5511faa2308a28cbe8dd2682
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jul 05 12:45:27 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/372a01f54d05924a5511faa2308a28cbe8dd2682 [^]

fixed issue 13885: process "install updates" does not work

  The issue was reproduceble when:
    -In an instance with several modules, scan for updates is executed
     and there are updates for different modules.
    -One of these updates is installed for a module which requires a
     complete rebuild (core or a template)


  The problem is that after rebuilding the system ad_module.update_ver_id
  column is set to null.

  The solution includes:
    -Add ad_module.update_ver_id column to AD dataset column exclussion, so
     when doing update.database the original value is preserved.
    -When doing scan for updates again, repopulate its value.

---
M src-db/database/sourcedata/AD_DATASET_COLUMN.xml
M src/org/openbravo/erpCommon/modules/ImportModule.java
M src/org/openbravo/erpCommon/modules/ImportModule_data.xsql
---
(0029071)
hudsonbot   
2010-07-05 20:41   
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/372a01f54d05 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/a11139370c90 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17805.obx [^]
(0029356)
marvintm   
2010-07-15 17:10   
Tested by installing MP18 and an early version of the Easy Extensible Attributes module, then scanning for updates, then upgrading only Core, and then trying to update Easy Extensible Attributes, and it worked fine.