It's all about the answers!

Ask a question

DOORS Next Generation 6.0 OSLC query not working on some projects

Nikhil Pachpande (2519) | asked Jan 13 '16, 9:40 a.m.

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 :

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.


Accepted answer

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

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

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.