Opened 12 years ago
Closed 12 years ago
#7980 closed defect (fixed)
dojox.data.AndOrReadStore : syntax error when use with FilteringSelect
Reported by: | gui92 | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX Data | Version: | 1.2.0 |
Keywords: | AndOrReadStore FilteringSelect dojox data | Cc: | |
Blocked By: | Blocking: |
Description
When you pas a complexQuery object in FilteringSelect? query (example : query="{complexQuery: 'type:1 AND NOT id:3'}"), a syntax error occured.
In the AndOrReadStore?.js _fetchItems function, the keywordArgs is an object composed with the complexQuery and the FilteringSelect? searchAttr value (exemple {"complexQuery":"type:1 AND NOT id:3","label","test"} ). This case is not supported by AndOrReadStore?.
Attachments (1)
Change History (4)
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Tested fix on:
IE 7 Firefox 2
Safari 3.1
Seamonkey 1.1.2
Google Chrome
Changed 12 years ago by
Attachment: | dojox.data.AndOrStores_20081106.patch added |
---|
Patch for AndOrStores? to fix reported issue.
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed. Can't list changeset because of trac problems.
Note: See
TracTickets for help on using
tickets.
Th only way I can see it working with a mix of a complex query and attribute query is that the complexQuery is ANDed to the attributes to create a new complex query like:
{
}
becomes:
"complexQuery":"( type:1 AND NOT id:3 ) AND label:'test'"
when processed.
This is how I'll address this issue/complaint. It does then work with FilteringSelect?