[jira] [Comment Edited] (SLING-7545) Groovy Scripting Engine not loading in Apache Sling 10

2018-03-20 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-7545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16406299#comment-16406299
 ] 

Bertrand Delacretaz edited comment on SLING-7545 at 3/20/18 1:18 PM:
-

Thank you [~fortuna] for verfiying, marking this fixed.

Digging deeper it looks like this bug has been introduced by the following 
commit for SLING-7134 - I'll add a comment there to verify that fixing this one 
does not cause trouble there.

[https://github.com/apache/sling-org-apache-sling-scripting-core/commit/2e15bd4f230d390ceadc9481627156bb3b6caaa3#diff-502d0f72184777e3bfd2f0e1dca75eff]

IIUC this means that scripting-core V 2.0.52 also has this bug.


was (Author: bdelacretaz):
Thank you [~fortuna] for verfiying, marking this fixed.

Digging deeper it looks like this bug has been introduced by the following 
commit for SLING-7134 - I'll add a comment there to verify that fixing this one 
does not cause trouble there.

https://github.com/apache/sling-org-apache-sling-scripting-core/commit/2e15bd4f230d390ceadc9481627156bb3b6caaa3#diff-502d0f72184777e3bfd2f0e1dca75eff

> Groovy Scripting Engine not loading in Apache Sling 10
> --
>
> Key: SLING-7545
> URL: https://issues.apache.org/jira/browse/SLING-7545
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Affects Versions: Scripting Core 2.0.54
>Reporter: Ben Fortuna
>Assignee: Bertrand Delacretaz
>Priority: Major
> Fix For: Scripting Core 2.0.56
>
>
> 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:
> {code:java}
> Groovy Scripting Engine 2.0
> -
> - Language : Groovy, 2.4.14
> - Extensions : groovy
> - MIME Types : application/x-groovy
> - Names : groovy, Groovy{code}
>  
> This works with Apache Sling 9, not with Sling 10



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (SLING-7545) Groovy Scripting Engine not loading in Apache Sling 10

2018-03-19 Thread Ben Fortuna (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-7545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16405599#comment-16405599
 ] 

Ben Fortuna edited comment on SLING-7545 at 3/19/18 11:46 PM:
--

Possibly caused by changes to sling-sciprting-core in last release (2.0.54):
 * SLING-7311
 * SLING-7134
 * ...


was (Author: fortuna):
Possibly caused by changes to sling-sciprting-core in last release (2.0.54):
 * SLING-7311
 * ...

> Groovy Scripting Engine not loading in Apache Sling 10
> --
>
> Key: SLING-7545
> URL: https://issues.apache.org/jira/browse/SLING-7545
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Affects Versions: Scripting Core 2.0.54
>Reporter: Ben Fortuna
>Priority: Major
>
> 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:
> {code:java}
> Groovy Scripting Engine 2.0
> -
> - Language : Groovy, 2.4.14
> - Extensions : groovy
> - MIME Types : application/x-groovy
> - Names : groovy, Groovy{code}
>  
> This works with Apache Sling 9, not with Sling 10



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)