Grails
  1. Grails
  2. GRAILS-5466

grails-1.1.2\src\grails\templates\scaffolding\save.gsp (The system cannot find the file specified)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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

        Hide
        Burt Beckwith added a comment -

        This works fine for me - does the file C:\Dev\grails-1.1.2\src\grails\templates\scaffolding\save.gsp exist?

        Show
        Burt Beckwith added a comment - This works fine for me - does the file C:\Dev\grails-1.1.2\src\grails\templates\scaffolding\save.gsp exist?
        Hide
        chris collins added a comment -

        nope, here is the listing of C:\Dev\grails-1.1.2\src\grails\templates\scaffolding
        Controller.groovy
        create.gsp
        edit.gsp
        list.gsp
        renderEditor.template
        show.gsp

        Show
        chris collins added a comment - nope, here is the listing of C:\Dev\grails-1.1.2\src\grails\templates\scaffolding Controller.groovy create.gsp edit.gsp list.gsp renderEditor.template show.gsp

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            chris collins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development