#4931 closed defect (fixed)
query match on simple, non-string types
Reported by: | Adam Peller | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Data | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
doing a query like name="*" should match on Numbers and booleans as well as strings. Perhaps just do a toString() before the regexp match
Attachments (1)
Change History (8)
comment:1 Changed 13 years ago by
comment:3 Changed 13 years ago by
Milestone: | 1.0 → 1.1 |
---|---|
Owner: | changed from Adam Peller to Jared Jurkiewicz |
would like to be helpful and write a test for this, but I get lost in the dojo.data test file :-(
Changed 13 years ago by
Attachment: | dojo.data.ItemFileStoreTests_20071031.patch added |
---|
Couple UT cases for this.
comment:5 Changed 13 years ago by
Tests executed on:
FireFox? 2.0.0.8 IE 6 Safari B3 Seamonkey 1.1.2 Opera 9.2 IE 7 Firefox 1.5.0.12
Console with Rhino.
All pass.
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 13 years ago by
Milestone: | 1.1 → 1.0 |
---|
Note: See
TracTickets for help on using
tickets.
(In [11187]) Fix bugs in _containsValue - wasn't searching the whole list. Use dojo.some. use toString() for regexp match on primitives. Refs #4931. Still needs UT.