Opened 11 years ago

Closed 11 years ago

#9175 closed defect (fixed)

[cla][patch] DropDownSelect throw null pointer when calling updateOption while dropDown is open

Reported by: 7twenty Owned by: Nathan Toone
Priority: high Milestone: 1.4
Component: DojoX Form Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

I'll attach a patch to the test case (test_DropDownSelect.html) to reproduce the issue.

Steps:

  1. Open the patched dojox/form/tests/test_DropDownSelect.html
  2. Under the heading "DropDownSelect?.updateOptions", click on the DropDownSelect? to open the dropDown
  3. Click any Checkbox in the CheckedMultiSelect?.

Results: Null pointer error in IE and FF. The dropDown is visible and cannot be closed.

Attachments (1)

DropDownSelect-updateOptions.patch (2.9 KB) - added by 7twenty 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by 7twenty

comment:1 Changed 11 years ago by Nathan Toone

Component: GeneralDojoX Form
Milestone: tbdfuture
Owner: changed from anonymous to Nathan Toone

comment:2 Changed 11 years ago by Nathan Toone

Milestone: future1.4
Summary: DropDownSelect throw null pointer when calling updateOption while dropDown is open[cla][patch] DropDownSelect throw null pointer when calling updateOption while dropDown is open

comment:3 Changed 11 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

(In [17410]) Fixes #9175 - watch out for null dereferencing, thanks for the patch

Note: See TracTickets for help on using tickets.