Closed cmgrote closed 2 years ago
The same could occur for searches with all of these characteristics:
NEQ
(For example: searching for Referenceable
s with a displayName
property -- which doesn't exist on Referenceable
itself but does exist on many of its child typedefs -- and using the search operator NEQ
for that property.)
... then currently the connector will throw an OMRS-REPOSITORY-400-062 An unexpected xtdb.IllegalArgumentException exception was caught by findEntitiesByProperty; error message was Clause refers to unknown variable error.
If running a search that includes all of these characteristics:
findEntitiesByProperty
orfindRelationshipsByProperty
)NONE
(For example: searching for
Referenceable
s with adisplayName
property -- which doesn't exist onReferenceable
itself but does exist on many of its child typedefs -- and using the match criteriaNONE
.)... then currently the connector will throw an
OMRS-REPOSITORY-400-062 An unexpected xtdb.IllegalArgumentException exception was caught by findEntitiesByProperty; error message was Clause refers to unknown variable
error.(Note that running such a query is likely to be very costly anyway given the breadth of what you're asking the system to calculate, and you may therefore want to consider some alternative way to arrive at your desired results; but it should nonetheless run without producing an error.)