You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/02/09 17:05:35 UTC

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

    [ https://issues.apache.org/jira/browse/SLING-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312378#comment-14312378 ] 

ASF GitHub Bot commented on SLING-4325:
---------------------------------------

Github user trekawek closed the pull request at:

    https://github.com/apache/sling/pull/55


> 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
>            Assignee: Robert Munteanu
>             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)