Opened 11 years ago
Closed 11 years ago
#13748 closed defect (invalid)
Error in dijit.form.ComboBoxMixin.labelFunc() when returned value is undefined.
Reported by: | vaelen | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Ticket #9354 changed the labelFunc() method in dijit.form.ComboBoxMixin? to call toString() on the value of the datastore item because dojox.data.XmlStore? returns an XmlItem? instance instead of a string.
However, there is no check to make sure that the value isn't undefined before calling toString(). If the value is indeed undefined, then an error is thrown when the code tries to call toString() on an undefined value.
Please see the attached patch for a resolution to this issue.
Attachments (1)
Change History (4)
Changed 11 years ago by
comment:1 Changed 11 years ago by
Owner: | changed from Douglas Hays to bill |
---|
comment:2 Changed 11 years ago by
I've never seen a case where the value is undefined, when/why is that happening for you?
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing due to no response.
Note: See
TracTickets for help on using
tickets.
Patch