Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

No method exception with the following query #35

Closed
wdroste opened this issue Mar 25, 2012 · 1 comment
Closed

No method exception with the following query #35

wdroste opened this issue Mar 25, 2012 · 1 comment
Labels

Comments

@wdroste
Copy link
Contributor

wdroste commented Mar 25, 2012

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')
}

@sarmbruster
Copy link
Contributor

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

 hasNonIndexedPropertyCriterion(Collection indexPropertyNames, AssociationQuery query)

@wdroste wdroste closed this as completed Apr 27, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants