oslcquery with DN 7.0.2 - Error trying to process rule "identifier" when using oslc select with custom identifier
When using "oslc.select" statement with a custom identifier/attribute such as "NEWID", I got a runtime error:
Exception has occurred: VisitError Error trying to process rule "identifier":
Name resolution for NEWID failed! File "C:\Users\REDACTED\elmclient_queryparser.py", line 619, in identifier raise Exception("Name resolution for %s failed!" % (resultname)) Exception: Name resolution for NEWID failed!
What could be the problem? It was working before with DOORS v 6.x.x. We just upgraded to DN 7.0.2 When running the types report, we got the variable/property name with the URI.
Thank you
What's an example commandline that gives this error? Obfuscate server-specific info as needed.
I had a similar issue, with 7.0.2, this was resolved with updating the line with [['dcterms:Identifier','=', f'"ID"']], note Identifier has to be capitalised which it is not in the original script