[
https://issues.apache.org/jira/browse/SLING-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig updated SLING-1350:
---------------------------------
Attachment: SLING-1350-scala.patch
Patch which fixes the Scala scripting engine issues. However, there is some
class loading problem which causes an error on the first request:
javax.script.ScriptException: ERROR : error while loading ScriptHelper, class
file 'org/apache/sling/scripting/core/ScriptHelper.class' is broken
(class org.osgi.framework.BundleContext not found.)
The error does only occur on the first request and only on the first start of
the Sling application.
> Many test failures in contrib/launchpad/testing
> ------------------------------------------------
>
> Key: SLING-1350
> URL: https://issues.apache.org/jira/browse/SLING-1350
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Michael Dürig
> Priority: Minor
> Attachments: SLING-1350-scala.patch
>
>
> The following tests fail:
> Failed tests:
>
> testStaticXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
>
> testDynamicXml(org.apache.sling.launchpad.webapp.integrationtest.xproc.XsltTest)
>
> testPythonHtml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
>
> testPythonJavaCode(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
>
> testPythonHtmlInAppsFolder(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
>
> testPythonXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
>
> testPythonPlain(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)
>
> testGetStarWithScript(org.apache.sling.launchpad.webapp.integrationtest.GetStarTest)
>
> testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest)
>
> testScala(org.apache.sling.launchpad.webapp.integrationtest.scala.ScalaScriptingTest)
>
> testDefaultResourceType(org.apache.sling.launchpad.webapp.integrationtest.PathBasedResourceTypeTest)
> Tests run: 14, Failures: 11, Errors: 0, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.