Eric Wittmann created SRAMP-586:
-----------------------------------
Summary: 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
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.1#6329)