This is the same bug reported in the older Jira bug tracker for RAILO: https://issues.jboss.org/browse/RAILO-2300
The attachment is the same test case as before since it still applies.
Where you have a relationship between two components, such as:
Calling ORMExecuteQuery to filter by the relationship will generate an error:
This code came from a ColdFusion 10 instance, where it worked properly.
Ubuntu Server 16.04