You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2018/12/04 09:55:00 UTC
[jira] [Updated] (SLING-8155) AuthRequestLoginTest and
SlingSessionInfoTest fail with org.mozilla.javascript.EvaluatorException:
syntax error
[ https://issues.apache.org/jira/browse/SLING-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-8155:
-----------------------------------
Fix Version/s: Servlets Get 2.1.40
> AuthRequestLoginTest and SlingSessionInfoTest fail with org.mozilla.javascript.EvaluatorException: syntax error
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SLING-8155
> URL: https://issues.apache.org/jira/browse/SLING-8155
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Reporter: Robert Munteanu
> Assignee: Jason E Bailey
> Priority: Major
> Fix For: Servlets Get 2.1.40
>
>
> Sometimes after Sling 11 we started getting IT failures does to JS errors when evaluated on the client side, in the ITs:
> {noformat}[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.007 s <<< FAILURE! - in org.apache.sling.launchpad.webapp.integrationtest.login.AuthRequestLoginTest
> [ERROR] testForcedLogin(org.apache.sling.launchpad.webapp.integrationtest.login.AuthRequestLoginTest) Time elapsed: 0.007 s <<< ERROR!
> java.io.IOException: While executing [out.println(data.userID)]:org.mozilla.javascript.EvaluatorException: syntax error (JavascriptEngine#1)
> at org.apache.sling.launchpad.webapp.integrationtest.login.AuthRequestLoginTest.testForcedLogin(AuthRequestLoginTest.java:41)
> Caused by: org.mozilla.javascript.EvaluatorException: syntax error (JavascriptEngine#1)
> at org.apache.sling.launchpad.webapp.integrationtest.login.AuthRequestLoginTest.testForcedLogin(AuthRequestLoginTest.java:41)
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.006 s <<< FAILURE! - in org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingSessionInfoTest
> [ERROR] testSessionInfo(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingSessionInfoTest) Time elapsed: 0.001 s <<< ERROR!
> java.io.IOException: While executing [out.println(data.userID + '.' + typeof data.authType)]:org.mozilla.javascript.EvaluatorException: syntax error (JavascriptEngine#1)
> at org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingSessionInfoTest.testSessionInfo(SlingSessionInfoTest.java:35)
> Caused by: org.mozilla.javascript.EvaluatorException: syntax error (JavascriptEngine#1)
> at org.apache.sling.launchpad.webapp.integrationtest.servlets.post.SlingSessionInfoTest.testSessionInfo(SlingSessionInfoTest.java:35)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)