Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:OS - Ubuntu Linux 9.10
Grails - 1.2.1
plugins - app-engine 0.8.8, gorm-jpa-0.7
Google App Engine Development kit - appengine-java-sdk-1.3.1
Description
I am facing out problems with Dynamic Finders (like findBy*, findAllBy*). It returns empty list or null object.
By somehow I figured out the problem and (a quick fix).
localArgs?.eachWithIndex {val, int i -> if(val instanceof GString) val = val.toString() // query.setParameter(i+1, val) // here is the problem: Line No. 201 query.setParameter(i, val) // fix }
I also have attached the file with the fix.
Issue is still present in 0.7.1. Fix works fine for 0.7.1 also.