Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oslcquery with DN 7.0.2 - Error trying to process rule "identifier" when using oslc select with custom identifier #50

Open
kpribadi opened this issue Oct 16, 2023 · 2 comments

Comments

@kpribadi
Copy link

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

@barny
Copy link
Member

barny commented Oct 30, 2023

What's an example commandline that gives this error? Obfuscate server-specific info as needed.

@Nelsont345
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants