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)
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.1.3 [ 16005 ] |
Burt Beckwith
made changes -
| 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) |
I have the: def scaffold = true set in my controller. I added contraints in domain class: {code} class Quote { def scaffold = true String content String author Date created = new Date() static contraints = { author(blank:false) content(maxSize: 1000, blank:false) } } {code} 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) |
Burt Beckwith
made changes -
| Assignee | Graeme Rocher [ graemerocher ] | Burt Beckwith [ burtbeckwith ] |
| Resolution | Cannot Reproduce [ 5 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 1.1.3 [ 16005 ] |
Contegix Support
made changes -
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 33863 ] | Grails [ 46317 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 46317 ] | Copy of Grails [ 53773 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 53773 ] | Grails [ 61183 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 61183 ] | Grails2 [ 68762 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 68762 ] | jira [ 74879 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 74879 ] | Grails2 [ 83660 ] |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 83660 ] | jira [ 87309 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 87309 ] | Grails2 [ 95648 ] |