It's all about the answers!

Ask a question

DOORS Next Generation 6.0 OSLC query not working on some projects


1
1
Nikhil Pachpande (2519) | asked Jan 13 '16, 9:40 a.m.
 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

Accepted answer


permanent link
Mike Jaworski (1.4k6) | answered Jan 13 '16, 9:54 a.m.
JAZZ DEVELOPER
 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

Comments
Nikhil Pachpande commented Jan 14 '16, 12:06 a.m.

 thanks mike.

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

Your answer


Register or 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.