Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018699Openbravo ERPA. Platformpublic2011-10-04 20:102011-10-05 11:33
shuehner 
marvintm 
immediatemajorhave not tried
closedfixed 
5
 
2.50MP34 
Core
No
0018699: 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
No tags attached.
blocks defect 0018697 closed marvintm Using scan for update button 2 times when having major version upgrade available blocks system completely 
Issue History
2011-10-05 10:56marvintmTypedefect => backport
2011-10-05 10:56marvintmfix_in_branch => 2.50
2011-10-05 11:16hgbotCheckin
2011-10-05 11:16hgbotNote Added: 0041499
2011-10-05 11:16hgbotStatusscheduled => resolved
2011-10-05 11:16hgbotResolutionopen => fixed
2011-10-05 11:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/cdcd974a2b825e29018ab688516e8054241f84e6 [^]
2011-10-05 11:33alostaleStatusresolved => closed
2011-10-05 11:33alostaleFixed in Version => 2.50MP34

Notes
(0041499)
hgbot   
2011-10-05 11:16   
Repository: erp/stable/2.50
Changeset: cdcd974a2b825e29018ab688516e8054241f84e6
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Oct 05 11:16:32 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/cdcd974a2b825e29018ab688516e8054241f84e6 [^]

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

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---