Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

DOORS Next Generation 6.0 OSLC query not working on some projects

 Hello,

We have create two similar project (create using the Automate Meter Reader template).
We have created a artifact with title="Heading" in both the projects.

We now want to query for artifact whose title="Heading", we use the following query :
oslc.where=dc:title="Heading"&oslc.select=*&oslc.prefix=dc=<http://purl.org/dc/terms/>

Query for Project1 returns one Artifact, whereas query for Project2 does not return any Artifacts.

We cannot understand why the query for Project2 does not return any Artifacts.
Do we have to enable OSLC query for Projects in DOORS Next Generation 6.0?

Any leads would be appreciated.

-Nikhil

1

1 vote


Accepted answer

Permanent link
 Hi Nikhil,

This behavior sounds similar to a defect we recently discovered through IBM Support: Query invoked from View Service code to collect all Attribute Definitions fails when Attribute Defs have been deleted from project (102886). This defect affects OSLC queries which use the "oslc.select=*" parameter, and the result is that the query will return 0 results if an Attribute was ever deleted from the project properties in version 6.0. 

The fix for this defect has been included in DNG 6.0 iFix006, which is set to release at the end of January, so I would suggest that you adopt this iFix once it is released. In the meantime, you could try issuing your query again while specifying just one piece of data in the oslc.select clause (e.g. oslc.select=dc:title).

Hope this helps!
Mike Jaworski
Nikhil Pachpande selected this answer as the correct answer

1 vote

Comments

 thanks mike.

Verified this and workaround in oslc:select clause works fine.
Waiting for the iFix006 fix.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952
× 139

Question asked: Jan 13 '16, 9:40 a.m.

Question was seen: 2,653 times

Last updated: Jan 14 '16, 12:06 a.m.

Related questions
Confirmation Cancel Confirm