You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2015/01/16 16:41:36 UTC

[jira] [Reopened] (SLING-4325) SlingQuery doesn't compare multivalue properties

     [ https://issues.apache.org/jira/browse/SLING-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomek Rękawek reopened SLING-4325:
----------------------------------

> SlingQuery doesn't compare multivalue properties
> ------------------------------------------------
>
>                 Key: SLING-4325
>                 URL: https://issues.apache.org/jira/browse/SLING-4325
>             Project: Sling
>          Issue Type: Bug
>          Components: Sling Query
>    Affects Versions: Sling Query 2.0.0
>            Reporter: Tomek Rękawek
>             Fix For: Sling Query 2.0.2
>
>
> SlingQuery allows to filter resource by their properties, eg.:
> {code}
> $(resource).find("[myProperty=123]");
> {code}
> However, the {{ResourcePropertyPredicate}} class, responsible for extracting properties, doesn't support multivalue properties. For instance, if the {{myProperty}} above has many values, query won't return anything, even if one of the values indeed equals to 123.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)