Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.4
-
Component/s: Scaffolding
-
Labels:None
-
Environment:HideGrails 1.0.1
Win XP SP2
No persistent database
Running from command line
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)ShowGrails 1.0.1 Win XP SP2 No persistent database Running from command line java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
Description
I created a domain with a data field, set the constraints as nullable:true, on the generated create view you can select blanks for dates, but it gives you a validation error.
Property offeringDate must be a valid Date
Project will be attached to this bug.
Attachments
Issue Links
| This issue duplicates: | ||||
| GRAILS-1793 | Empty date field cannot be persisted using view |
|
|
|
Same here. Tried with both nullable:true and blank:true. Same error.
Impossible to save a blank/null date.
The created database column allow null.