Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018697Openbravo ERPA. Platformpublic2011-10-04 20:102011-10-12 02:02
shuehner 
marvintm 
immediatemajorhave not tried
closedfixed 
5
 
3.0MP4 
Core
No
0018697: Using scan for update button 2 times when having major version upgrade available blocks system completely
The fix for 18644 triggers the faulty behavior described in the 'Steps to Reproduce' below as it intertwines to running transaction (one via xsql, second via dal) so they block each other.

Preliminary debugging shows this to be caused or at least to be related to some really old change done during the 'Audit Trail' project work.
Start with 2.50MP34
Scan for Updates (will show major version update to OB3 for core)
Scan for Updates again, action will block/not finish
Notice that any interaction is now blocked, this includes trying to i.e. login again
Can be 'fixed' by restarting tomcat

Can be reproduced using same steps again
Regression QA
related to defect 00186433.0MP4 closed marvintm Local changes error when changing the Life Cycle settings in the Module Management window 
depends on backport 0018699 closed marvintm Using scan for update button 2 times when having major version upgrade available blocks system completely 
Issue History
2011-10-04 20:10shuehnerNew Issue
2011-10-04 20:10shuehnerAssigned To => alostale
2011-10-04 20:10shuehnerModules => Core
2011-10-04 20:13shuehnerRelationship addedrelated to 0018644
2011-10-04 20:14shuehnerRelationship addedrelated to 0018643
2011-10-04 20:15shuehnerRelationship deletedrelated to 0018644
2011-10-04 20:15shuehnerAssigned Toalostale => marvintm
2011-10-04 20:15shuehnerTag Attached: Regression QA
2011-10-05 10:56marvintmStatusnew => acknowledged
2011-10-05 10:56marvintmStatusacknowledged => scheduled
2011-10-05 10:56marvintmfix_in_branch => pi
2011-10-05 11:18hgbotCheckin
2011-10-05 11:18hgbotNote Added: 0041500
2011-10-05 11:18hgbotStatusscheduled => resolved
2011-10-05 11:18hgbotResolutionopen => fixed
2011-10-05 11:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/12f57b3ac5f122168331ed7deb17537f93a105bb [^]
2011-10-05 11:33alostaleStatusresolved => closed
2011-10-05 11:33alostaleFixed in Version => 3.0MP4
2011-10-12 02:02hudsonbotCheckin
2011-10-12 02:02hudsonbotNote Added: 0041755

Notes
(0041500)
hgbot   
2011-10-05 11:18   
Repository: erp/devel/pi
Changeset: 12f57b3ac5f122168331ed7deb17537f93a105bb
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Oct 05 11:18:05 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/12f57b3ac5f122168331ed7deb17537f93a105bb [^]

Fixed issue 18697. A deadlock will be avoided by committing the DAL transaction early

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0041755)
hudsonbot   
2011-10-12 02:02   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9bd2b5c2d982 [^]

Maturity status: Test