Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-148

Creating a new "groovy class" always fails with compliation error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 2.4.5
    • None
    • None

    Description

      Whenever you want to create a new groovy class in Magnolia you have to use a workaround procedure which requires that it be declared as a script first.

      Steps

      1. Create a package info.magnolia.groovy.examples
      2. Inside the examples folder add a new script.
      3. Declare a new class
        package info.magnolia.groovy.examples;
        public class MyGroovyClass { }
        
      4. Click save, see the error.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD