DOORS Next Generation 6.0 OSLC query not working on some projects
![](http://jazz.net/_images/myphoto/1e80e78b0db83d17deaaccc7f03e3f2e.jpg)
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
![](http://jazz.net/_images/myphoto/1e80e78b0db83d17deaaccc7f03e3f2e.jpg)
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