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

IfcPresentationLayerAssignment example query displays multiple problems #743

Open
rubendel opened this Issue Apr 12, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@rubendel
Member

rubendel commented Apr 12, 2018

The "IfcPresentationLayerAssignment" example query in BIMvie.ws does not work. The method "getOidOfGuidAlternative" in "QueryNamesAndTypesStackFrame" throws an exception.

The problem is that the "Name" field of "IfcPresentationLayerAssignment" does not have an index. Problems to fix:

  • When an exception like this happens, a useful error message should be sent to the client, not an invalid JSON message as is the case now
  • The actual exception should be clearer, the problem is a missing index on a certain field in this case
  • The field in this case should have an index. The IFC spec should have an interface called "Nameable" or something like that, but that's not the case. So best action would be to simply index all fields called "Name", not just the "IfcRoot" descendants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment