Griffon
  1. Griffon
  2. GRIFFON-309

DefaultGriffonControllerClass incorrectly lists some methods as actions

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2-beta-3
    • Fix Version/s: 0.9.2-rc1
    • Component/s: rt
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The following code

      class SampleController {
          def actionClosure = {}
          void actionMethod() {}
          void mvcGroupInit(Map args) {
              app.artifactManager.controllerClasses.each { cc ->
                  println cc.actionNames
              }
          }
      }
      

      Prints the following output

      [actionClosure, actionMethod, metaClassOf, invokeMethod]
      

      metaClassOf is an static method. invokeMethod belongs to GroovyObjectSupport.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: