Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-686

GroovyServlet will crash if parameters are passed in HTTP Request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-9
    • 1.0-beta-9
    • None
    • None
    • jdk 1.4.2_02

    Description

      If parameters are being passed to a groovy servlet the servlet crashes with MissingPropertyException.

      This behaviour has been introduced with version 1.4 ( most current ) of groovy.lang.Binding.

      The problem is, that GroovyServlet tries to determine the state of a variable by executing getVairable() method, which throws the exception if the variable can not be found.

      I'll send the patch to the developer mailing list.

      Attachments

        1. groovyservlet-patch.patch
          0.8 kB
          Boris Gruschko

        Activity

          People

            guillaume Guillaume Sauthier
            boris.gruschko Boris Gruschko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: