You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original Reporter: vlad.shevchenko
Environment: Grails 1.0.2, Java 1.5.0_13, Mac OS X 10.5.2
Version: 1.0.2
Migrated From: http://jira.grails.org/browse/GRAILS-2808
When I trying to save with correct name – entity saved successfully! Then I trying update it with no changes, and only now got validation error messages about minimum size of collection.
The text was updated successfully, but these errors were encountered:
nicholas said:
I think this should be fixed somehow since this is really confusing. The minSize attribute of collections is still only working when nullable: false is set.
Original Reporter: vlad.shevchenko
Environment: Grails 1.0.2, Java 1.5.0_13, Mac OS X 10.5.2
Version: 1.0.2
Migrated From: http://jira.grails.org/browse/GRAILS-2808
I have domain like:
{noformat}
class Profile {
String name
…
```
static hasMany = [categories: Category]
static constraints = {
name(size: 6..30)
categories(minSize: 1)
…
}
```
{noformat}
When I trying to save with correct name – entity saved successfully! Then I trying update it with no changes, and only now got validation error messages about minimum size of collection.
The text was updated successfully, but these errors were encountered: