[overlord-issues] [JBoss JIRA] (SRAMP-586) Empty custom property query not quite working

Brett Meyer (JIRA) issues at jboss.org
Wed Nov 19 14:59:39 EST 2014


     [ https://issues.jboss.org/browse/SRAMP-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Meyer resolved SRAMP-586.
-------------------------------
    Fix Version/s: 0.7.0.Final
       Resolution: Done


> Empty custom property query not quite working
> ---------------------------------------------
>
>                 Key: SRAMP-586
>                 URL: https://issues.jboss.org/browse/SRAMP-586
>             Project: S-RAMP
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 0.5.0.Final
>            Reporter: Eric Wittmann
>            Assignee: Brett Meyer
>             Fix For: 0.7.0.Final
>
>
> If a query is done like this:
> {code}
> /s-ramp/core/Document[ @foo ]
> {code}
> then the assumption is that it should return all artifacts with property "foo" defined, regardless of the *value* of "foo".  However, if an artifact has the property defined but no value for the property, this query is failing to return it.
> To reproduce:
> 1) add an artifact to s-ramp
> 2) add a custom property "foo" to the artifact, with no value (this can easily be done via the UI)
> 3) execute the s-ramp query:  /s-ramp[@foo]
> 4) observe that the artifact is not returned



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the overlord-issues mailing list