Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-RC1
-
Component/s: None
-
Labels:None
Description
The current limit is two expressions; Grails issues a poor error message and the user gets a little frustrated ![]()
Supporting unlimited expressions is what new users will expect: without it Grails will feel less user friendly.
Discussion here http://www.nabble.com/Dynamic-finder-not-working-tf3938993.html
Issue Links
- duplicates
-
GRAILS-1186
Dynamic FindBy*//CountBy* Methods on Domain Class Should All Multiple And/Or
-
- relates to
-
GRAILS-7363
Dynamic finders don't work for properties containing the substring "Or"--for example, "purchaseOrder"
-
I have the same issue here, and it took me some time to find this limitation (it is described), but it would be nice if somethine like this would be possible:
Event.findEventByNameAndStartDateAndLocation....
Now I get a strange error message :
org.codehaus.groovy.grails.exceptions.InvalidPropertyException: No property found for name [startDateAndTitle] for class [class Event]