Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7545

Groovy Scripting Engine not loading in Apache Sling 10

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Scripting Core 2.0.54
    • Fix Version/s: Scripting Core 2.0.56
    • Component/s: Scripting
    • Labels:
      None

      Description

      With the latest release of Apache Sling (10) the Groovy Scripting engine is no longer loading.

      The impact is that scripts with a (*.groovy) extension aren't rendering.

      This works with Apache Sling 9, so I believe there was a change in the Apache Sling Scripting Core that broke the Groovy implementation.

       

      How to reproduce:

      Load groovy-all JAR into Apache Sling as a bundle, under the url http://localhost:8080/system/console/status-slingscripting the following should display:

      Groovy Scripting Engine 2.0
      -------------------------------------
      - Language : Groovy, 2.4.14
      - Extensions : groovy
      - MIME Types : application/x-groovy
      - Names : groovy, Groovy

       

      This works with Apache Sling 9, not with Sling 10

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              bdelacretaz Bertrand Delacretaz
              Reporter:
              fortuna Ben Fortuna

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment