Queried for a Single Requirement with Two Requirements in the Response
Hi,
I have queried for a single requirement in Doors NG with the query: "... oslc.where=dcterms:identifier=xyz".
The response, however, contains two member results, both with the same identifier, though they seem to be located apart from each other, see below
member 1:
<oslc_rm:Requirement rdf:about="https://.../rm/resources/CA_685b0b6ac75f4b1a8b0f0fd0ec12a510">
member 2:
<oslc_rm:Requirement rdf:about="https://.../rm/resources/_9mJ9gIi1Eeuc2f2NAwVSqg">
Someone having an idea of why this is happening?
Also, the ETag in the HttpResponse is null, is this due to a result including more than one requirement?
Regards
Magnus
One answer
Hi Magnus,
Easiest way to check is copying resource URL and putting into the web browser.
In Your case You are getting two members because one requirement seems to be added to a module and you are getting one like to base artifact and second one to the module context.
If the artifact would be in two modules then you would get 3 members.
Hope it is answering Your question.
Bartek