[jira] [Created] (SLING-3490) Updated embeded Logback version to 1.1.2

2014-04-04 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created SLING-3490: -- Summary: Updated embeded Logback version to 1.1.2 Key: SLING-3490 URL: https://issues.apache.org/jira/browse/SLING-3490 Project: Sling Issue Type: Task

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
hi Oliver, thanks a lot for your reply On Apr 3, 2014, at 7:09 PM, Oliver Lietz apa...@oliverlietz.demailto:apa...@oliverlietz.de wrote: On Thursday 03 April 2014 16:12:47 Antonio Sanso wrote: hi *, hello Antonio, SLING-722 introduced an important fix to solve some issue related to sling

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
hi carsten On Apr 3, 2014, at 6:34 PM, Carsten Ziegeler cziege...@apache.org wrote: Hi Antonio, where is the NPE happening? I copied the subject from SLING-722 . With the current code there is actual no NPE but some functional issue (see my mail to Oliver) regards antonio Carsten

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Carsten Ziegeler
So we could just add the check to the getPath() method, and this should fix the problem, right? Carsten 2014-04-04 9:11 GMT+02:00 Antonio Sanso asa...@adobe.com: hi carsten On Apr 3, 2014, at 6:34 PM, Carsten Ziegeler cziege...@apache.org wrote: Hi Antonio, where is the NPE happening?

Re: [VOTE] Release Apache Sling Feature Flags 1.0.0

2014-04-04 Thread Bertrand Delacretaz
Hi, On Mon, Mar 31, 2014 at 2:25 PM, Carsten Ziegeler cziege...@apache.org wrote: ...Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1045... +1, checked signatures, build and that the svn tag matches the below archive. MD5

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
On Apr 4, 2014, at 9:54 AM, Carsten Ziegeler cziege...@apache.org wrote: So we could just add the check to the getPath() method, and this should fix the problem, right? I think so. At that point we can as well remove the associated getAnonymousCredentials() since getPath can never be

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Carsten Ziegeler
Yes, at least the check at the beginning of getAuthenticationInfo - the fallback at the end is still needed I guess. Carsten 2014-04-04 10:01 GMT+02:00 Antonio Sanso asa...@adobe.com: On Apr 4, 2014, at 9:54 AM, Carsten Ziegeler cziege...@apache.org wrote: So we could just add the check

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
On Apr 4, 2014, at 10:14 AM, Carsten Ziegeler cziege...@apache.orgmailto:cziege...@apache.org wrote: the fallback at the end is still needed I guess. for sureā€¦. :) regards antonio Carsten 2014-04-04 10:01 GMT+02:00 Antonio Sanso asa...@adobe.commailto:asa...@adobe.com: On Apr 4,

[VOTE RESULT] Release Apache Sling Feature Flags 1.0.0

2014-04-04 Thread Carsten Ziegeler
Vote passed with three binding +1 votes from Bertrand Delacretaz, Justin Edelson, and Carsten Ziegeler. -- Carsten Ziegeler cziege...@apache.org

[VOTE RESULT] Release Apache Sling discovery.impl 1.0.6

2014-04-04 Thread Stefan Egli
The vote passed with three binding +1 votes from Carsten Ziegeler, Bertrand Delacretaz and Justin Edelson, and no other votes. Thanks for voting, Cheers, Stefan

[jira] [Closed] (SLING-3182) Filter out invalid alias values

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3182. --- Filter out invalid alias values --- Key:

[jira] [Closed] (SLING-3400) Sling holds resource providers after they have been unregistered

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3400. --- Sling holds resource providers after they have been unregistered

[jira] [Closed] (SLING-2910) Move web console plugin into category Sling

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2910. --- Move web console plugin into category Sling -

[jira] [Closed] (SLING-3444) Provide a switch to enable feature flags for the resource resolver

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3444. --- Provide a switch to enable feature flags for the resource resolver

[jira] [Closed] (SLING-3332) Long startup time with many sling:alias

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3332. --- Long startup time with many sling:alias ---

[jira] [Closed] (SLING-3183) Add a configuration flag to disable sling vanity path handling

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3183. --- Add a configuration flag to disable sling vanity path handling

[jira] [Closed] (SLING-2698) resource access security service for resource providers without backing ACLs

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2698. --- resource access security service for resource providers without backing ACLs

[jira] [Closed] (SLING-3160) Creating ResourceResolverFactory as ServiceFactory leads to multiple MapEntries creation

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3160. --- Creating ResourceResolverFactory as ServiceFactory leads to multiple MapEntries creation

Re: [VOTE RESULT] Release Apache Sling discovery.impl 1.0.6

2014-04-04 Thread Carsten Ziegeler
I've pushed that version to the dist directory. Carsten 2014-04-04 11:01 GMT+02:00 Stefan Egli e...@adobe.com: The vote passed with three binding +1 votes from Carsten Ziegeler, Bertrand Delacretaz and Justin Edelson, and no other votes. Thanks for voting, Cheers, Stefan -- Carsten

[jira] [Closed] (SLING-2872) StringIndexOutOfBoundsException in resource resolver

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2872. --- StringIndexOutOfBoundsException in resource resolver

[jira] [Closed] (SLING-3043) Allow white list filtering of vanity paths

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3043. --- Allow white list filtering of vanity paths --

[jira] [Closed] (SLING-3347) Improve handling of features service reference

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3347. --- Improve handling of features service reference --

[jira] [Closed] (SLING-3350) Simplify Feature Flags API

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3350. --- Simplify Feature Flags API -- Key: SLING-3350

[jira] [Closed] (SLING-3148) Implement support for Feature Flags/Toggles in Sling

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3148. --- Implement support for Feature Flags/Toggles in Sling

[jira] [Closed] (SLING-2975) MapEntry#compareTo method is not consistent and might throw ISE on Java7

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-2975. --- MapEntry#compareTo method is not consistent and might throw ISE on Java7

[jira] [Closed] (SLING-3482) Synthetic resources should lead to a 404

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3482. --- Synthetic resources should lead to a 404

[jira] [Closed] (SLING-3346) Feature#isEnabled(ExecutionContext) method not evaluated

2014-04-04 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-3346. --- Feature#isEnabled(ExecutionContext) method not evaluated

Re: [VOTE RESULT] Release Apache Sling discovery.impl 1.0.6

2014-04-04 Thread Stefan Egli
thanks! Stefan On 4/4/14 11:08 AM, Carsten Ziegeler cziege...@apache.org wrote: I've pushed that version to the dist directory. Carsten 2014-04-04 11:01 GMT+02:00 Stefan Egli e...@adobe.com: The vote passed with three binding +1 votes from Carsten Ziegeler, Bertrand Delacretaz and Justin

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Carsten Ziegeler
So I guess its as simple as this: Index: src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java === --- src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java (Revision 1584521) +++

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Oliver Lietz
On Friday 04 April 2014 11:16:36 Carsten Ziegeler wrote: So I guess its as simple as this: Index: src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java === ---

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Carsten Ziegeler
Why do you want to keep getPath() unchanged? You have a get method, get something and then have to check the value and then default to /. (In the end I don't care where the fix ends up, more curious) Carsten 2014-04-04 12:13 GMT+02:00 Oliver Lietz apa...@oliverlietz.de: On Friday 04 April

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: launchdemos_2.diff I've updated the patch with additional instructions for the

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: (was: launchdemos.diff) Fix the instructions on how to launch/deploy the

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
LGTM On Apr 4, 2014, at 11:16 AM, Carsten Ziegeler cziege...@apache.org wrote: So I guess its as simple as this: Index: src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticator.java === ---

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Oliver Lietz
On Friday 04 April 2014 12:20:33 Carsten Ziegeler wrote: Why do you want to keep getPath() unchanged? You have a get method, get something and then have to check the value and then default to /. (In the end I don't care where the fix ends up, more curious) because we have otherwise get

[jira] [Created] (SLING-3491) Standalone Launchpad Testing does not start on trunk

2014-04-04 Thread Robert Munteanu (JIRA)
Robert Munteanu created SLING-3491: -- Summary: Standalone Launchpad Testing does not start on trunk Key: SLING-3491 URL: https://issues.apache.org/jira/browse/SLING-3491 Project: Sling Issue

[jira] [Updated] (SLING-3491) Standalone Launchpad Testing does not start on trunk

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-3491: --- Description: The fix from SLING-3468 needs to be applied to the launchpad/testing project as

[jira] [Resolved] (SLING-3491) Standalone Launchpad Testing does not start on trunk

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-3491. Resolution: Fixed Assignee: Robert Munteanu (was: Carsten Ziegeler) Fixed in

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: (was: launchdemos_2.diff) Fix the instructions on how to launch/deploy

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: launchdemos_3.diff Updated the patch to provide better documentation for the

[jira] [Updated] (SLING-3492) failed authentication when Sling is deployed in an app server

2014-04-04 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-3492: - Summary: failed authentication when Sling is deployed in an app server (was: failed

[jira] [Created] (SLING-3492) failed authnetication when Sling is deployed in an app server

2014-04-04 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-3492: Summary: failed authnetication when Sling is deployed in an app server Key: SLING-3492 URL: https://issues.apache.org/jira/browse/SLING-3492 Project: Sling

Re: NullPointerException trying to authenticate when requesting the SlingMainServlet directly

2014-04-04 Thread Antonio Sanso
hi Oliver, this can work as well. I have opened https://issues.apache.org/jira/browse/SLING-3492 and everybody is fine I am going to attach this patch. regards antonio On Apr 4, 2014, at 1:47 PM, Oliver Lietz apa...@oliverlietz.de wrote: On Friday 04 April 2014 12:20:33 Carsten Ziegeler

[jira] [Updated] (SLING-3492) failed authentication when Sling is deployed in an app server

2014-04-04 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-3492: - Description: As reported in [0] SLING-2998 reverted a fix introduced in SLING-722. The problem

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13959985#comment-13959985 ] Robert Munteanu commented on SLING-3405: Compilation of that sample class works

[jira] [Resolved] (SLING-3492) failed authentication when Sling is deployed in an app server

2014-04-04 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved SLING-3492. - Resolution: Fixed r1584705 failed authentication when Sling is deployed in an app server

[jira] [Updated] (SLING-3492) failed authentication when Sling is deployed in an app server

2014-04-04 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-3492: Fix Version/s: Auth Core 1.1.8 failed authentication when Sling is deployed in an app server

[jira] [Assigned] (SLING-3492) failed authentication when Sling is deployed in an app server

2014-04-04 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz reassigned SLING-3492: --- Assignee: Oliver Lietz failed authentication when Sling is deployed in an app server

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13959994#comment-13959994 ] Bertrand Delacretaz commented on SLING-3405: AFAICS those compiler classes are

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13960001#comment-13960001 ] Robert Munteanu commented on SLING-3405: I see, thanks. SLING2094Test and

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13960004#comment-13960004 ] Robert Munteanu commented on SLING-3405: By looking at

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13960005#comment-13960005 ] Felix Meschberger commented on SLING-3405: -- The goal is actually to update to the

[jira] [Commented] (SLING-3405) SLING2094Test and ServerSideScriptsTest fail with java 8: JSP compiler does not find java.util.Arrays or java.lang.CharSequence

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13960021#comment-13960021 ] Robert Munteanu commented on SLING-3405: {quote}I have been thinking of actually

[jira] [Created] (SLING-3493) Javashell demo doesn't work

2014-04-04 Thread David Bosschaert (JIRA)
David Bosschaert created SLING-3493: --- Summary: Javashell demo doesn't work Key: SLING-3493 URL: https://issues.apache.org/jira/browse/SLING-3493 Project: Sling Issue Type: Bug

[jira] [Updated] (SLING-3493) Javashell demo doesn't work

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3493: Attachment: SLING-3493.diff The attached SLING-3493.diff patch fixes these issues. The

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: (was: launchdemos_3.diff) Fix the instructions on how to launch/deploy

[jira] [Updated] (SLING-3489) Fix the instructions on how to launch/deploy the demos

2014-04-04 Thread David Bosschaert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bosschaert updated SLING-3489: Attachment: launchdemos_4.diff I've updated the patch with additional instructions for the

[jira] [Created] (SLING-3494) Launchpad Testing WAR tests fail due to a CNFE

2014-04-04 Thread Robert Munteanu (JIRA)
Robert Munteanu created SLING-3494: -- Summary: Launchpad Testing WAR tests fail due to a CNFE Key: SLING-3494 URL: https://issues.apache.org/jira/browse/SLING-3494 Project: Sling Issue Type:

Re: Failure running Launchpad Testing WAR version - ClassNotFoundException: org.apache.sling.commons.testing.integration.HttpTest

2014-04-04 Thread Robert Munteanu
Filed https://issues.apache.org/jira/browse/SLING-3494, fixed with http://svn.apache.org/r1584906 On Fri, Dec 13, 2013 at 4:31 PM, Robert Munteanu romb...@apache.org wrote: Hi, I can't run the testing-war project locally and WAR integration tests are not enabled on BuildBot. I'll paste the

[jira] [Resolved] (SLING-3494) Launchpad Testing WAR tests fail due to a CNFE

2014-04-04 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-3494. Resolution: Fixed Fixed in http://svn.apache.org/r1584906 Launchpad Testing WAR tests