SlingNodeStore.accept() requiring all values of an array query parameter
------------------------------------------------------------------------
Key: SLING-851
URL: https://issues.apache.org/jira/browse/SLING-851
Project: Sling
Issue Type: Bug
Components: Extensions
Environment: URL:
http://svn.apache.org/repos/asf/incubator/sling/trunk/extensions/dojo-sling
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 741703
Node Kind: directory
Schedule: normal
Last Changed Author: fmeschbe
Last Changed Rev: 734658
Last Changed Date: 2009-01-15 02:25:41 -0800 (Thu, 15 Jan 2009)
Reporter: Paul Mietz Egli
Queries against a SlingNodeStore that contain properties with multiple values
like the following do not return any objects:
<div dojoType="dojox.data.SlingNodeStore" url="/content" jsId="nodeStore"
query="{ 'jcr:primaryType' : ['nt:folder','nt:file'] }"></div>
The accept() method of SlingNodeStore appears to require that the node property
value matches ALL of the query array values, not just one value. Changing the
method to set the "onematch" bool to true if any of the elements in the array
match appears to solve this problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.