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

Qualified class references broken in Groovy 1.1 beta 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 1.1-beta-2
    • 1.1-beta-3
    • class generator
    • None

    Description

      I attempted to upgrade Grails to Groovy 1.1 beta 2 but qualified class references appear to be broken. For example this code:

      def doWithSpring = {
      flowRegistry(org.codehaus.groovy.grails.webflow.engine.builder.ControllerFlowRegistry)

      { grailsApplication = ref("grailsApplication", true) }

      }

      Throws the exception

      groovy.lang.MissingPropertyException: No such property: org for class: org.codehaus.groovy.grails.plugins.webflow.WebFlowGrailsPlugin
      at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:942)
      at groovy.lang.MetaClassImpl.getProperty(MetaClassImpl.java:2183)

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: