Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0.0.RC3
-
Fix Version/s: None
-
Labels:
-
Environment:grails 1.3.6
-
Patch Submitted:Yes
-
Testcase included:yes
Description
Hi,
Situation is the following.
I have a domain class which besides having id of type ObjectId also has some other field of type ObjectId.
I call mockDomain in my test and as soon as I try to query with that field I get
org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [test.Test] on non-existent property:
Please find sample project attached.
Thanks in advance.
Regards,
Nune
I am facing same issue.
I am using : Grails 2.2.2, mongodb 1.2.0