[jira] [Assigned] (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 ] Jason E Bailey reassigned SLING-8155: - Assignee: Jason E Bailey (was: Radu Cotescu) > 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: Testing >Reporter: Robert Munteanu >Assignee: Jason E Bailey >Priority: Major > > 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)
[jira] [Created] (SLING-8159) Update Pax Exam to 4.12.0
Oliver Lietz created SLING-8159: --- Summary: Update Pax Exam to 4.12.0 Key: SLING-8159 URL: https://issues.apache.org/jira/browse/SLING-8159 Project: Sling Issue Type: Task Components: JCR, Oak Reporter: Oliver Lietz Assignee: Oliver Lietz Fix For: JCR Oak Server 1.2.2 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (SLING-8158) Update Oak to 1.8.9
[ https://issues.apache.org/jira/browse/SLING-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved SLING-8158. - Resolution: Done > Update Oak to 1.8.9 > --- > > Key: SLING-8158 > URL: https://issues.apache.org/jira/browse/SLING-8158 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.2.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (SLING-8159) Update Pax Exam to 4.12.0
[ https://issues.apache.org/jira/browse/SLING-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved SLING-8159. - Resolution: Done > Update Pax Exam to 4.12.0 > - > > Key: SLING-8159 > URL: https://issues.apache.org/jira/browse/SLING-8159 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.2.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (SLING-8157) Update Jackrabbit to 2.16.3
[ https://issues.apache.org/jira/browse/SLING-8157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved SLING-8157. - Resolution: Done > Update Jackrabbit to 2.16.3 > --- > > Key: SLING-8157 > URL: https://issues.apache.org/jira/browse/SLING-8157 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.2.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (SLING-8157) Update Jackrabbit to 2.16.3
Oliver Lietz created SLING-8157: --- Summary: Update Jackrabbit to 2.16.3 Key: SLING-8157 URL: https://issues.apache.org/jira/browse/SLING-8157 Project: Sling Issue Type: Task Components: JCR, Oak Reporter: Oliver Lietz Assignee: Oliver Lietz Fix For: JCR Oak Server 1.2.2 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (SLING-8158) Update Oak to 1.8.9
Oliver Lietz created SLING-8158: --- Summary: Update Oak to 1.8.9 Key: SLING-8158 URL: https://issues.apache.org/jira/browse/SLING-8158 Project: Sling Issue Type: Task Components: JCR, Oak Reporter: Oliver Lietz Assignee: Oliver Lietz Fix For: JCR Oak Server 1.2.2 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (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:comment-tabpanel=16707656#comment-16707656 ] Jason E Bailey commented on SLING-8155: --- The issue with the info.sessionInfo.json has to do with the use of the JsonGenerator that I switched too. When I initially implemented this, I closed the JsonGenerator when I finished. This created a problem where it closed the underlying response writer, which was then attempted to be closed later. So I changed the code to leave the JsonGenerator unclosed so that it wouldn't close the response writer. This then has created an issue, where the JsonGenerator isn't flushing it's buffer to the response writer and that's why there's no response being written. Note that this is at the JsonGenerator implementation level. If I flush the underlying response writer, it doesn't help. Still working on best solution for this. > 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: Testing >Reporter: Robert Munteanu >Assignee: Radu Cotescu >Priority: Major > > 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)
[jira] [Commented] (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:comment-tabpanel=16707659#comment-16707659 ] Jason E Bailey commented on SLING-8155: --- This same issue is what's causing the CreateUserTest to fail > 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: Testing >Reporter: Robert Munteanu >Assignee: Radu Cotescu >Priority: Major > > 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)
[jira] [Resolved] (SLING-8156) Extension should provide a copy() method
[ https://issues.apache.org/jira/browse/SLING-8156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert resolved SLING-8156. - Resolution: Fixed Fixed with https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-feature.git;a=commitdiff;h=3a9483531b4895b6db6677b511383111221479e3 > Extension should provide a copy() method > > > Key: SLING-8156 > URL: https://issues.apache.org/jira/browse/SLING-8156 > Project: Sling > Issue Type: Task >Affects Versions: Feature Model 0.8.0 >Reporter: David Bosschaert >Assignee: David Bosschaert >Priority: Major > Fix For: Feature Model 0.8.2 > > > The extension object should provide a copy() operation to facilitate merge > operations. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: [VOTE] Release Apache Sling Commons ClassLoader 1.4.4
+1 On Mon, Dec 3, 2018 at 4:41 AM Radu Cotescu wrote: > +1 > > > On 2 Dec 2018, at 14:26, Oliver Lietz wrote: > > > > Please vote to approve this release: > > > > [ ] +1 Approve the release > > [ ] 0 Don't care > > [ ] -1 Don't release, because ... > > > > This majority vote is open for at least 72 hours. > >
[jira] [Created] (SLING-8156) Extension should provide a copy() method
David Bosschaert created SLING-8156: --- Summary: Extension should provide a copy() method Key: SLING-8156 URL: https://issues.apache.org/jira/browse/SLING-8156 Project: Sling Issue Type: Task Affects Versions: Feature Model 0.8.0 Reporter: David Bosschaert Assignee: David Bosschaert Fix For: Feature Model 0.8.2 The extension object should provide a copy() operation to facilitate merge operations. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: [VOTE] Release Apache Sling JCR ClassLoader 3.2.4
+1 On Mon, Dec 3, 2018 at 4:18 AM Karl Pauls wrote: > +1 > > regards, > > Karl > > On Monday, December 3, 2018, Julian Sedding wrote: > > > +1 - all checks ok > > > > Regards > > Julian > > On Sun, Dec 2, 2018 at 8:11 PM Oliver Lietz > wrote: > > > > > > Hi, > > > > > > we solved 2 issues in this release: > > > https://issues.apache.org/jira/browse/SLING/fixforversion/12328683 > > > > > > There is still one outstanding issue: > > > https://issues.apache.org/jira/browse/SLING-7157 > > > > > > Staging repository: > > > https://repository.apache.org/content/repositories/orgapachesling-2020 > > > > > > You can use this UNIX script to download the release and verify the > > > signatures: > > > https://gitbox.apache.org/repos/asf?p=sling-tooling- > > release.git;a=blob;f=check_staged_release.sh;hb=HEAD > > > > > > Usage: > > > sh check_staged_release.sh 2020 /tmp/sling-staging > > > > > > Please vote to approve this release: > > > > > > [ ] +1 Approve the release > > > [ ] 0 Don't care > > > [ ] -1 Don't release, because ... > > > > > > This majority vote is open for at least 72 hours. > > > > > > Regards, > > > O. > > > > > > > > -- > Karl Pauls > karlpa...@gmail.com >
[jira] [Commented] (SLING-3821) Run launchpad integration tests against Sling on Karaf
[ https://issues.apache.org/jira/browse/SLING-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16707487#comment-16707487 ] Oliver Lietz commented on SLING-3821: - [~rombert], not sure. But SLING-8155 is a matching issue. > Run launchpad integration tests against Sling on Karaf > -- > > Key: SLING-3821 > URL: https://issues.apache.org/jira/browse/SLING-3821 > Project: Sling > Issue Type: Test > Components: Launchpad >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: Karaf Launchpad Integration Tests (Oak Tar) 0.0.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-3821) Run launchpad integration tests against Sling on Karaf
[ https://issues.apache.org/jira/browse/SLING-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16707494#comment-16707494 ] Robert Munteanu commented on SLING-3821: [~olli] - looks to me like you're hitting both SLING-7950 and SLING-8155. For the first one you should update your jackrabbit-jcr2dav depedency. For the second one, I don't know yet. > Run launchpad integration tests against Sling on Karaf > -- > > Key: SLING-3821 > URL: https://issues.apache.org/jira/browse/SLING-3821 > Project: Sling > Issue Type: Test > Components: Launchpad >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: Karaf Launchpad Integration Tests (Oak Tar) 0.0.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: [VOTE] Release Apache Sling Scripting Core 2.0.56
+1 On Mon, Dec 3, 2018 at 4:08 AM Julian Sedding wrote: > +1 - all checks ok > > Regards > Julian > On Sun, Dec 2, 2018 at 2:24 PM Oliver Lietz wrote: > > > > On Friday 30 November 2018 15:52:26 Radu Cotescu wrote: > > > Hi, > > > > > > We solved 6 issues in this release: > > > https://issues.apache.org/jira/projects/SLING/versions/12342645 > > > > > > Staging repository: > > > https://repository.apache.org/content/repositories/orgapachesling-2018 > > > > +1 (baseline check is done against a 2.0.55 snapshot, fixed by updating > to > > Parent 34) > > > > O. > > >
[jira] [Commented] (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:comment-tabpanel=16707350#comment-16707350 ] Robert Munteanu commented on SLING-8155: Seems that the root error is the same for {noformat}[ERROR] testCreateUser(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest) Time elapsed: 0.027 s <<< ERROR! javax.json.stream.JsonParsingException: Unexpected character '' (Codepoint: 0) on [lineNumber=1, columnNumber=1, streamOffset=0]. Reason is [[End of file hit too early]] at org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest.testCreateUser(CreateUserTest.java:111) [ERROR] testAuthorizedCreateUser(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest) Time elapsed: 0.051 s <<< ERROR! javax.json.stream.JsonParsingException: Unexpected character '' (Codepoint: 0) on [lineNumber=1, columnNumber=1, streamOffset=0]. Reason is [[End of file hit too early]] at org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest.testAuthorizedCreateUser(CreateUserTest.java:164) {noformat} > 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: Testing >Reporter: Robert Munteanu >Assignee: Robert Munteanu >Priority: Major > > 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)
[jira] [Assigned] (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 reassigned SLING-8155: -- Assignee: Radu Cotescu (was: Robert Munteanu) > 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: Testing >Reporter: Robert Munteanu >Assignee: Radu Cotescu >Priority: Major > > 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)
[jira] [Commented] (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:comment-tabpanel=16707333#comment-16707333 ] Robert Munteanu commented on SLING-8155: It seems that when running the tests the {{info.sessionInfo.json}} endpoint return an empty content. The root cause found the sling logs is {noformat}03.12.2018 16:02:31.703 *WARN* [EventAdminAsyncThread #6] org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory addHostObjects: Cannot prepare host object class org.apache.sling.scripting.javascript.wrapper.Scriptabl eResource java.lang.NullPointerException: null at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory.addHostObjects(RhinoJavaScriptEngineFactory.java:344) [org.apache.sling.scripting.javascript:3.0.4] at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory.getRootScope(RhinoJavaScriptEngineFactory.java:195) [org.apache.sling.scripting.javascript:3.0.4] at org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory.getScriptEngine(RhinoJavaScriptEngineFactory.java:142) [org.apache.sling.scripting.javascript:3.0.4] at org.apache.sling.scripting.core.impl.jsr223.SortableScriptEngineFactory.getScriptEngine(SortableScriptEngineFactory.java:113) [org.apache.sling.scripting.core:2.0.54] at org.apache.sling.scripting.core.impl.ScriptCacheImpl.handleEvent(ScriptCacheImpl.java:291) [org.apache.sling.scripting.core:2.0.54] at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415) at org.apache.felix.eventadmin.impl.tasks.HandlerTask.runWithoutBlacklistTiming(HandlerTask.java:82) [org.apache.felix.eventadmin:1.5.0] at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:104) [org.apache.felix.eventadmin:1.5.0] at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:166) [org.apache.felix.eventadmin:1.5.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748){noformat} [~radu.cotescu] - could you make a quick assessment about why this happens? > 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: Testing >Reporter: Robert Munteanu >Assignee: Robert Munteanu >Priority: Major > > 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 >
[jira] [Created] (SLING-8155) AuthRequestLoginTest and SlingSessionInfoTest fail with org.mozilla.javascript.EvaluatorException: syntax error
Robert Munteanu created SLING-8155: -- Summary: 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: Testing Reporter: Robert Munteanu Assignee: Robert Munteanu 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)
[jira] [Created] (SLING-8154) Feature Analyser - Hardcode java specification version to 1.8 to make the system packages export work on java > 8
Karl Pauls created SLING-8154: - Summary: Feature Analyser - Hardcode java specification version to 1.8 to make the system packages export work on java > 8 Key: SLING-8154 URL: https://issues.apache.org/jira/browse/SLING-8154 Project: Sling Issue Type: Bug Components: Feature Model Affects Versions: Feature Model Analyser 0.8.0 Reporter: Karl Pauls Assignee: Karl Pauls Fix For: Feature Model Analyser 0.8.2 We should hardcode java specification version to 1.8 for now as starting with Felix 6 the system package export profile is dynamically calculated above java8 and hence, will not be found. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: Sling Type System: started a wiki page for concepts, ideas, motivation
Hi Jason, Top-posting to sort of give a summary of my personal opinion: it's absolutely fine to experiment with new resource providers and extensions to the resource provider API. Looking forward to a discussion when we have more concrete stuff to talk about :-) Thanks, Robert On Mon, 2018-11-26 at 11:11 -0500, Jason E Bailey wrote: > I see similarities between Sling and projects such as MySql and > MongoDB. In both of these the code that actually persists the data is > a separate application, sometimes maintained by completely different > people. In the case of MySQL you had a choice between MyISAM and > InnoDB and they had different capabilities and it was up to the > needs of the administrator to determine which one to use. > > I agree with your statement that we don't build dedicated persistence > engines, but that's a very different statement to supporting the > integration of various persistence engines, and/or implementing the > layer that allows interaction with a given engine. > > I'm not sure what you were discussing, but my view of ordering comes > down to this > > 1. A Resource Provider may support ordering the children of any > particular resource > 2. It's up to an implementer to understand whether a Resource > Provider supports ordering and when it's appropriate > 3. Ordering on a merged Resource Provider results in undefined > behaviour > > Your concern with multiple providers and how the handle ordering is > valid but is an existing issue. If I have a merged view with JCR > resource provider and a non-jcr resource provider which supports > CRUD. How does that work if I add content to the non-jcr provider to > the children of an ordered jcr node? > > Of course, I'm fine with iteration, as long as we call it out that > doing X and Y isn't defined I'd move forward, but I can understand > how some would be reluctant. > > - Jason > > > > I think there's an important note to be added here. Jackrabbit/Oak > > are > > dedicated to building persistence engines. Sling is a web > > framework. I > > am not saying that we can't build persistence engines or that we > > can't > > pull up features from Oak, but that's going to be hard :-) > > > > To make things even more interesting, concerns moved at the > > resource > > provider level need to be consistent between resource providers, > > something that Oak does not have to care about. > > > > As a quick example, Radu and myself had a short chat some weeks ago > > about what it would take to add ordering at the Sling level. While > > it > > would not be _that_ hard to add some basic support at the resource > > provider level, things go downhill once you start ordering things > > between providers, e.g. > > > > - ordering fails for provider 1, succeeds for provider 2 (two-phase > > commit anyone?) > > - two providers with inconsistent ordering properties are mounted > > in > > the same sling instance
[jira] [Resolved] (SLING-8153) Feature Analyser - ContentPackageScanner doesn't delete tmp dirs
[ https://issues.apache.org/jira/browse/SLING-8153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Pauls resolved SLING-8153. --- Resolution: Fixed Done in c0ac1bd..225d958 > Feature Analyser - ContentPackageScanner doesn't delete tmp dirs > > > Key: SLING-8153 > URL: https://issues.apache.org/jira/browse/SLING-8153 > Project: Sling > Issue Type: Bug > Components: Feature Model >Affects Versions: Feature Model Analyser 0.8.0 >Reporter: Karl Pauls >Assignee: Karl Pauls >Priority: Minor > Fix For: Feature Model Analyser 0.8.2 > > > The ContentPackageScanner does create tmp dirs in: > https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/master/src/main/java/org/apache/sling/feature/scanner/impl/ContentPackageScanner.java#L211 > but later on doesn't delete them recursively (instead it just does a single > delete on the toplevel dir) - this doesn't work: > https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/master/src/main/java/org/apache/sling/feature/scanner/impl/ContentPackageScanner.java#L211 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (SLING-8153) Feature Analyser - ContentPackageScanner doesn't delete tmp dirs
Karl Pauls created SLING-8153: - Summary: Feature Analyser - ContentPackageScanner doesn't delete tmp dirs Key: SLING-8153 URL: https://issues.apache.org/jira/browse/SLING-8153 Project: Sling Issue Type: Bug Components: Feature Model Affects Versions: Feature Model Analyser 0.8.0 Reporter: Karl Pauls Assignee: Karl Pauls Fix For: Feature Model Analyser 0.8.2 The ContentPackageScanner does create tmp dirs in: https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/master/src/main/java/org/apache/sling/feature/scanner/impl/ContentPackageScanner.java#L211 but later on doesn't delete them recursively (instead it just does a single delete on the toplevel dir) - this doesn't work: https://github.com/apache/sling-org-apache-sling-feature-analyser/blob/master/src/main/java/org/apache/sling/feature/scanner/impl/ContentPackageScanner.java#L211 -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: [VOTE] Release Apache Sling Commons ClassLoader 1.4.4
+1 > On 2 Dec 2018, at 14:26, Oliver Lietz wrote: > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ... > > This majority vote is open for at least 72 hours.
Re: Support for ACE Restrictions with jackrabbit.accessmanager REST
Hi Eric, On Tue, 2018-11-27 at 17:10 -0800, Eric Norman wrote: > Would someone be able to review the changes done for those issues and > if > there are no objections to the code changes assist with releasing > those two > bundles? I've never done that before and I not sure I even have > sufficient > rights to do it. As a committer you are able to start a release vote, you only need a PMC member at the end to promote the artifacts to dist.apache.org , see [1] for more details. In case you would like someone else to run the release feel free to ask when ready, but I would suggest to try it yourself since you have sufficient rights. Thanks, Robert [1]: http://sling.apache.org/documentation/development/release-management.html
[jira] [Comment Edited] (SLING-3821) Run launchpad integration tests against Sling on Karaf
[ https://issues.apache.org/jira/browse/SLING-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706886#comment-16706886 ] Robert Munteanu edited comment on SLING-3821 at 12/3/18 9:37 AM: - [~olli] - maybe related to SLING-8080 or SLING-7950? _edit_: added reference to second issue was (Author: rombert): [~olli] - maybe related to SLING-8080 ? > Run launchpad integration tests against Sling on Karaf > -- > > Key: SLING-3821 > URL: https://issues.apache.org/jira/browse/SLING-3821 > Project: Sling > Issue Type: Test > Components: Launchpad >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: Karaf Launchpad Integration Tests (Oak Tar) 0.0.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-3821) Run launchpad integration tests against Sling on Karaf
[ https://issues.apache.org/jira/browse/SLING-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706886#comment-16706886 ] Robert Munteanu commented on SLING-3821: [~olli] - maybe related to SLING-8080 ? > Run launchpad integration tests against Sling on Karaf > -- > > Key: SLING-3821 > URL: https://issues.apache.org/jira/browse/SLING-3821 > Project: Sling > Issue Type: Test > Components: Launchpad >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: Karaf Launchpad Integration Tests (Oak Tar) 0.0.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (SLING-8114) Allow to do polling of code failing on asserts
[ https://issues.apache.org/jira/browse/SLING-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16706884#comment-16706884 ] Robert Munteanu commented on SLING-8114: [~petitbear68] - would you have the time to submit a PR with a fix and a test? > Allow to do polling of code failing on asserts > -- > > Key: SLING-8114 > URL: https://issues.apache.org/jira/browse/SLING-8114 > Project: Sling > Issue Type: Improvement > Components: Apache Sling Testing Clients >Affects Versions: Apache Sling Testing Clients 1.2.0 >Reporter: Thierry Ygé >Priority: Major > > Currently if you polling check uses assertions , it will not be retried, this > is due to this line > [https://github.com/apache/sling-org-apache-sling-testing-clients/blob/master/src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java#L118] > Which is only catching Exceptions while failing Assertions are an error kind > (AssertionError). > It would be nice to handle it so that code wouldn't have to "transform" it to > exception. > To reproduce simply use assertion in your polling check and let it fail if a > counter is lower than a value. make the polling retries so that at the next > retry counter it should pass. > > {quote}int count = 0; > new Polling(() -> { count++; Assert.assertTrue(count == 2); return true; > } > ).poll(2000, 500); > {quote} > Observation: it exist the poll directly as the assert fail already. > Expected: It should have polled until the check pass here. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Re: [VOTE] Release Apache Sling JCR ClassLoader 3.2.4
+1 regards, Karl On Monday, December 3, 2018, Julian Sedding wrote: > +1 - all checks ok > > Regards > Julian > On Sun, Dec 2, 2018 at 8:11 PM Oliver Lietz wrote: > > > > Hi, > > > > we solved 2 issues in this release: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12328683 > > > > There is still one outstanding issue: > > https://issues.apache.org/jira/browse/SLING-7157 > > > > Staging repository: > > https://repository.apache.org/content/repositories/orgapachesling-2020 > > > > You can use this UNIX script to download the release and verify the > > signatures: > > https://gitbox.apache.org/repos/asf?p=sling-tooling- > release.git;a=blob;f=check_staged_release.sh;hb=HEAD > > > > Usage: > > sh check_staged_release.sh 2020 /tmp/sling-staging > > > > Please vote to approve this release: > > > > [ ] +1 Approve the release > > [ ] 0 Don't care > > [ ] -1 Don't release, because ... > > > > This majority vote is open for at least 72 hours. > > > > Regards, > > O. > > > -- Karl Pauls karlpa...@gmail.com
Re: [VOTE] Release Apache Sling Commons ClassLoader 1.4.4
On Sun, 2018-12-02 at 14:26 +0100, Oliver Lietz wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part
Re: [VOTE] Release Apache Sling JCR ClassLoader 3.2.4
On Sun, 2018-12-02 at 20:11 +0100, Oliver Lietz wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part
Re: [VOTE] Release Apache Sling Commons ClassLoader 1.4.4
+1 - all checks ok Regards Julian On Sun, Dec 2, 2018 at 2:26 PM Oliver Lietz wrote: > > Hi, > > we solved 3 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12343091 > > Staging repository: > https://repository.apache.org/content/repositories/orgapachesling-2019 > > You can use this UNIX script to download the release and verify the > signatures: > https://gitbox.apache.org/repos/asf?p=sling-tooling-release.git;a=blob;f=check_staged_release.sh;hb=HEAD > > Usage: > sh check_staged_release.sh 2019 /tmp/sling-staging > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ... > > This majority vote is open for at least 72 hours. > > Regards, > O. >
Re: [VOTE] Release Apache Sling Scripting Core 2.0.56
+1 - all checks ok Regards Julian On Sun, Dec 2, 2018 at 2:24 PM Oliver Lietz wrote: > > On Friday 30 November 2018 15:52:26 Radu Cotescu wrote: > > Hi, > > > > We solved 6 issues in this release: > > https://issues.apache.org/jira/projects/SLING/versions/12342645 > > > > Staging repository: > > https://repository.apache.org/content/repositories/orgapachesling-2018 > > +1 (baseline check is done against a 2.0.55 snapshot, fixed by updating to > Parent 34) > > O. >
Re: [VOTE] Release Apache Sling JCR ClassLoader 3.2.4
+1 - all checks ok Regards Julian On Sun, Dec 2, 2018 at 8:11 PM Oliver Lietz wrote: > > Hi, > > we solved 2 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12328683 > > There is still one outstanding issue: > https://issues.apache.org/jira/browse/SLING-7157 > > Staging repository: > https://repository.apache.org/content/repositories/orgapachesling-2020 > > You can use this UNIX script to download the release and verify the > signatures: > https://gitbox.apache.org/repos/asf?p=sling-tooling-release.git;a=blob;f=check_staged_release.sh;hb=HEAD > > Usage: > sh check_staged_release.sh 2020 /tmp/sling-staging > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ... > > This majority vote is open for at least 72 hours. > > Regards, > O. >
[jira] [Resolved] (SLING-8152) Update to Sling Parent 34
[ https://issues.apache.org/jira/browse/SLING-8152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved SLING-8152. - Resolution: Done > Update to Sling Parent 34 > - > > Key: SLING-8152 > URL: https://issues.apache.org/jira/browse/SLING-8152 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.2.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (SLING-8152) Update to Sling Parent 34
Oliver Lietz created SLING-8152: --- Summary: Update to Sling Parent 34 Key: SLING-8152 URL: https://issues.apache.org/jira/browse/SLING-8152 Project: Sling Issue Type: Task Components: JCR, Oak Reporter: Oliver Lietz Assignee: Oliver Lietz Fix For: JCR Oak Server 1.2.2 -- This message was sent by Atlassian JIRA (v7.6.3#76005)