Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012052Openbravo ERPB. User interfacepublic2010-01-24 22:362010-03-10 18:29
dbaz 
dbaz 
highmajoralways
closedfixed 
20Community Appliance
 
2.50MP12 
Core
No
0012052: Read only logic doesn't disable combo's onChange
Read only logic doesn't disable combo's onChange, so if there is a callout or something else associated to the combo, it will be fired although the combo be read only
Not provided
No tags attached.
has duplicate defect 0012051 closed dbaz Read only logic fails on combo if a callout is associated with it. 
related to defect 0012538 closed alostale onChange action is executed for red only drop down fields 
Issue History
2010-01-24 22:36dbazNew Issue
2010-01-24 22:36dbazAssigned To => dbaz
2010-01-24 22:37hgbotCheckin
2010-01-24 22:37hgbotNote Added: 0023779
2010-01-24 22:37hgbotStatusnew => resolved
2010-01-24 22:37hgbotResolutionopen => fixed
2010-01-24 22:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/23ac7482985604c75216c6c4f8572769cfce2ca0 [^]
2010-01-25 08:33sureshbabuNote Added: 0023781
2010-01-25 11:17dbazNote Added: 0023787
2010-01-25 11:18dbazRelationship addedduplicate of 0012051
2010-01-25 11:20dbazRelationship replacedhas duplicate 0012051
2010-02-01 17:53hudsonbotCheckin
2010-02-01 17:53hudsonbotNote Added: 0023885
2010-02-18 08:54sureshbabuNote Added: 0024563
2010-02-18 08:54sureshbabuStatusresolved => closed
2010-02-18 08:54sureshbabuFixed in Version => 2.50MP12
2010-02-19 00:01anonymoussf_bug_id0 =>
2010-03-03 13:01alostaleRelationship addedrelated to 0012538
2010-03-10 18:29anonymoussf_bug_id => 2967992

Notes
(0023779)
hgbot   
2010-01-24 22:37   
Repository: erp/devel/pi
Changeset: 23ac7482985604c75216c6c4f8572769cfce2ca0
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Sun Jan 24 22:35:41 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/23ac7482985604c75216c6c4f8572769cfce2ca0 [^]

Fixed issue 12052: Combos with ReadOnlyLogic now don't fire onchange when readonly

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0023781)
sureshbabu   
2010-01-25 08:33   
Please provide me the steps to retest the issue.
(0023787)
dbaz   
2010-01-25 11:17   
1. add a read only logic to a field
2. make a relevant call out for that field
3. associate the callout with that field.
4. now compile
5. try to change the combo box's value which was set read only (or updatable false)
6. the callout associated with it is triggered which fails the logic for setting a readonly logic.
(0023885)
hudsonbot   
2010-02-01 17:53   
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/23ac74829856 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3d5bd712a24b [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16007.obx [^]
(0024563)
sureshbabu   
2010-02-18 08:54   
Tested working fine