You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jordan Shurmer (JIRA)" <ji...@apache.org> on 2019/05/16 19:28:00 UTC

[jira] [Created] (SLING-8422) SlingQuery doesn't convert 'has' selector to query properly

Jordan Shurmer created SLING-8422:
-------------------------------------

             Summary: SlingQuery doesn't convert 'has' selector to query properly
                 Key: SLING-8422
                 URL: https://issues.apache.org/jira/browse/SLING-8422
             Project: Sling
          Issue Type: Bug
          Components: Sling Query
            Reporter: Jordan Shurmer


h1. Problem

Executing a query trying to find resources that have a certain attribute does not work. The query ends up looking for the attribute equal to "null"
h2. example

{{$(root).find('[someAttribute]')}} should find any resource which *has* {{someAttribute}}. Instead it looks for {{somAttribute = 'null'}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)