We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe the GUID filter of QueryPart is ignored.
To reproduce:
Problem analysis The issue is that JsonQueryObjectModelConverter#toJson skips the QueryPart's GUID's.
Adding:
if (queryPart.hasGuids()) { ArrayNode guidsNode = OBJECT_MAPPER.createArrayNode(); queryPartNode.set("guids", guidsNode); for (String guid : queryPart.getGuids()) { guidsNode.add(guid); } }
under the block processing the oids in the toJson method seems to resolve the issue.
The text was updated successfully, but these errors were encountered:
Looks plausible. Thanks for reporting! Would you like to make a pull request? For reference, here is the OIDs block:
BIMserver/PluginBase/src/org/bimserver/database/queries/om/JsonQueryObjectModelConverter.java
Lines 97 to 103 in 9c9d474
Sorry, something went wrong.
Thanks for the fast reply and follow-up!
I'll follow-up with a PR.
Read for review: #1257
No branches or pull requests
I believe the GUID filter of QueryPart is ignored.
To reproduce:
Problem analysis
The issue is that JsonQueryObjectModelConverter#toJson skips the QueryPart's GUID's.
Adding:
under the block processing the oids in the toJson method seems to resolve the issue.
The text was updated successfully, but these errors were encountered: