Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012538Openbravo ERPA. Platformpublic2010-03-03 13:012010-03-12 22:40
alostale 
alostale 
urgentmajoralways
closedfixed 
5
pi 
 
Core
No
0012538: onChange action is executed for red only drop down fields
onChange action is executed for red only drop down fields.

In case this field has callout, the callout is executed, so it is possible other field is modified by it.
-Set a list reference column as read only and assign a callout to this column.
-Compile the window.
-Open the tab and try to select another value in this field. The value cannot be changed (correct).
-Check the callout is executed (incorrect).
onChange shouldn't be executed in read only fields.

Note that this change makes the following flow invalid:
-There are 3 fields:
  *A editable, with a callout that modifies B.
  *B dropdown list, read only, with a callout that modifies C
  *C any field.

Previous to this fix C was modified when A changed, after this fix it will not. Workarrond: callout in A must modify B and C.
No tags attached.
related to defect 0012052 closed dbaz Read only logic doesn't disable combo's onChange 
related to defect 0012656 closed alostale When you change the organization, the tabs don't work 
related to defect 0019992pi closed dbaz Wrong behavior in readOnlyLogicElement in utils.js 
Issue History
2010-03-03 13:01alostaleNew Issue
2010-03-03 13:01alostaleAssigned To => alostale
2010-03-03 13:01alostaleRelationship addedrelated to 0012052
2010-03-03 13:02hgbotCheckin
2010-03-03 13:02hgbotNote Added: 0024996
2010-03-03 13:02hgbotStatusnew => resolved
2010-03-03 13:02hgbotResolutionopen => fixed
2010-03-03 13:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a5970e55697c71acd9f372ff149dfb18a15c8b54 [^]
2010-03-03 18:28hgbotCheckin
2010-03-03 18:28hgbotNote Added: 0025026
2010-03-03 18:30dbazStatusresolved => closed
2010-03-10 17:25anonymoussf_bug_id0 =>
2010-03-10 18:30anonymoussf_bug_id => 2968125
2010-03-12 12:06alostaleRelationship addedrelated to 0012656
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025383
2010-03-12 22:40hudsonbotCheckin
2010-03-12 22:40hudsonbotNote Added: 0025386
2012-03-09 13:48dbazRelationship addedrelated to 0019992

Notes
(0024996)
hgbot   
2010-03-03 13:02   
Repository: erp/devel/pi
Changeset: a5970e55697c71acd9f372ff149dfb18a15c8b54
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Mar 03 13:06:10 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a5970e55697c71acd9f372ff149dfb18a15c8b54 [^]

fixed bug 12538: onChange action is executed for red only drop down fields

---
M src-wad/src/org/openbravo/wad/controls/WADList.java
---
(0025026)
hgbot   
2010-03-03 18:28   
Repository: erp/devel/pi
Changeset: 2c71d76b9c313bea91ae1292c010d353eae06295
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Mar 03 18:32:05 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2c71d76b9c313bea91ae1292c010d353eae06295 [^]

Related to issue 12538: Changed js to adapt changes to readOnlyLogic

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0025383)
hudsonbot   
2010-03-12 22:40   
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/a5970e55697c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0025386)
hudsonbot   
2010-03-12 22:40   
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/2c71d76b9c31 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]