spring-attic/grails-data-mapping

No method exception with the following query

Closed this issue · 1 comments

URI
/graph1/asset/init
Class
groovy.lang.MissingMethodException
Message
No signature of method: org.grails.datastore.gorm.neo4j.Neo4jQuery.hasNonIndexedPropertyCriterion() is applicable for argument types: (java.util.ArrayList, org.grails.datastore.mapping.query.AssociationQuery) values: [[], org.grails.datastore.mapping.query.AssociationQuery@54ebcda1] Possible solutions: hasNonIndexedPropertyCriterion(java.util.Collection, org.grails.datastore.mapping.query.Query$Junction), hasNonIndexedPropertyCriterion(java.util.Collection, org.grails.datastore.mapping.query.Query$PropertyNameCriterion)

// basic query w/ an association..
def aclObjectIdentities = AclObjectIdentity.withCriteria {
for (ObjectIdentity objectIdentity in objectIdentities) {
or {
eq('objectId', objectIdentity.identifier)
aclClass {
eq('className', objectIdentity.type)
}
}
}
order('objectId', 'asc')
}

Hasn't this ticket been resolved in your commit d3d5a06 ? There you introduce

 hasNonIndexedPropertyCriterion(Collection indexPropertyNames, AssociationQuery query)