Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017612Openbravo ERPA. Platformpublic2011-06-12 21:152012-04-26 19:32
iciordia 
migueldejuana 
highminoralways
closedfixed 
5any
pi 
3.0MP11 
Core
No
0017612: When the locking mechanism raises a message in a dirty edition it ask for an action that can not be performed
When there is a dirty edition (a user tries to save some changes while someone else did other changes in the meantime), the system raises a message (see attachment) asking for a click on the refresh button. But the refresh button is not active at that moment (see the attachment). User can cancel and then refresh.
Emulate a dirty edition:
-Open two user session in the same server (eg. using different browsers)
-Open the same record in both sessions (eg. Cerveza ALE 0,5L)
-Open the form to edit the record in both sessions
-Do changes in one of them and save
-Then do changes in the other and save. You get the message in the attachment
-In grid it is the same
Either change the message so it asks for Cancel and then Refresh, or ensure that the Refresh button is active in this case.
nextMP
png LockingMechanismMessage.png (57,436) 2011-06-12 21:15
https://issues.openbravo.com/file_download.php?file_id=4198&type=bug
png
Issue History
2011-06-12 21:15iciordiaNew Issue
2011-06-12 21:15iciordiaAssigned To => alostale
2011-06-12 21:15iciordiaFile Added: LockingMechanismMessage.png
2011-06-12 21:15iciordiaModules => Core
2011-06-22 20:29dmitry_mezentsevTarget Version3.0MP2 => 3.0MP3
2011-07-26 17:27alostaleStatusnew => scheduled
2011-07-26 17:27alostalefix_in_branch => pi
2011-08-31 11:25jonalegriaesarteNote Added: 0040586
2011-08-31 11:25jonalegriaesarteTarget Version3.0MP3 => 3.0MP4
2011-08-31 11:25jonalegriaesartefix_in_branchpi =>
2011-09-27 13:03alostaleTarget Version3.0MP4 => 3.0MP5
2011-10-31 14:28alostaleTarget Version3.0MP5 => 3.0MP6
2011-11-15 08:41alostaleTag Attached: nextMP
2011-11-15 08:58alostaleTarget Version3.0MP6 =>
2012-04-24 14:58alostaleAssigned Toalostale => migueldejuana
2012-04-24 16:29hgbotCheckin
2012-04-24 16:29hgbotNote Added: 0047922
2012-04-24 16:29hgbotStatusscheduled => resolved
2012-04-24 16:29hgbotResolutionopen => fixed
2012-04-24 16:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/db21123a50b08991c564d50f5da9f93c06178305 [^]
2012-04-25 11:26AugustoMauchNote Added: 0047954
2012-04-25 11:26AugustoMauchStatusresolved => closed
2012-04-25 11:26AugustoMauchFixed in Version => 3.0MP11
2012-04-25 11:29AugustoMauchNote Added: 0047955
2012-04-26 19:32hudsonbotCheckin
2012-04-26 19:32hudsonbotNote Added: 0048083

Notes
(0040586)
jonalegriaesarte   
2011-08-31 11:25   
Due to the load with other issues we were not able to research this one for MP3, are planning MP4 for it now.
(0047922)
hgbot   
2012-04-24 16:29   
Repository: erp/devel/pi
Changeset: db21123a50b08991c564d50f5da9f93c06178305
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Apr 24 16:25:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/db21123a50b08991c564d50f5da9f93c06178305 [^]

Fixed issue 17612: Locking mechanism message in dirty edition changed
When the locking mechanism raises a message in a dirty edition it ask for an action that can not be performed. Suggest to refresh data, now it suggest to cancel changes before because the refresh button is disabled.

---
M modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0047954)
AugustoMauch   
2012-04-25 11:26   
Code reviewed and verified in pi@b1c45effac4b
(0047955)
AugustoMauch   
2012-04-25 11:29   
This issue has been fixed, but the user will not be able to see it until issue 20354 (https://issues.openbravo.com/view.php?id=20345 [^]) has been fixed.
(0048083)
hudsonbot   
2012-04-26 19:32   
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/70a717a9ffa1 [^]

Maturity status: Test