Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP java 1.5_15
Description
I have the: def scaffold = true
set in my controller.
I added contraints in domain class:
class Quote {
def scaffold = true
String content
String author
Date created = new Date()
static contraints = {
author(blank:false)
content(maxSize: 1000, blank:false)
}
}
I then browse to the generated scaffolds and click new, I populate nothing, then click save....
2009-12-03 11:38:15,612 [27991136@qtp2-0] ERROR view.ScaffoldingViewResolver - Error generating scaffolded view [/error]: C:\Dev\grails-1.1.2\src\grails\templates\scaffolding\save.gsp (The system cannot find the file specified)
java.io.FileNotFoundException: C:\Dev\grails-1.1.2\src\grails\templates\scaffolding\save.gsp (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
This works fine for me - does the file C:\Dev\grails-1.1.2\src\grails\templates\scaffolding\save.gsp exist?