Re: Custom error handler scripts return HTTP status 200 by default, sounds wrong to me

2014-11-12 Thread Felix Meschberger
Hi Am 12.11.2014 um 14:45 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi Felix, On Wed, Nov 12, 2014 at 2:24 PM, Felix Meschberger fmesc...@adobe.com wrote: Consider this case: * Client browses non-existing /a/b/xyz.html * Not found, hence 404 * 404 handler fails due to some

[jira] [Commented] (SLING-4143) Exception or Error in error handler script/servlet should cause HTTP status 500

2014-11-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14208038#comment-14208038 ] Felix Meschberger commented on SLING-4143: -- bq. Removing the Java 6 requirement

[jira] [Commented] (SLING-4143) Exception or Error in error handler script/servlet should cause HTTP status 500

2014-11-12 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14208072#comment-14208072 ] Felix Meschberger commented on SLING-4143: -- No, I would not expose

[jira] [Reopened] (SLING-4147) Remove extensions from package name org.apache.sling.extensions.datasource.internal

2014-11-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reopened SLING-4147: -- While I am ok with refactoring the internal packages, changing the configuration PID names

[jira] [Commented] (SLING-4147) Remove extensions from package name org.apache.sling.extensions.datasource.internal

2014-11-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14204642#comment-14204642 ] Felix Meschberger commented on SLING-4147: -- ACK, I was under the impression

Re: Patch for quick dirty debian package for sling launchpad standalone.jar

2014-11-10 Thread Felix Meschberger
Hi While the gist might be ok for review, I am concerned with the ingestion process: In any case I think we need a JIRA for committing such a change to our SVN. I would also prefer to have the patch attached to the issue to be able to track back what has been added. Regards Felix Am

Re: Custom error handler scripts return HTTP status 200 by default, sounds wrong to me

2014-11-10 Thread Felix Meschberger
Hi I have the guts feeling that the Sling error handling mechanism should not do anything. Rather we should expect the error handler script to set the status appropriately. OTOH the Servlet API states that the setStatus is actually disabled when calling the error handling JSP (if it is a JSP)

Re: Patch for quick dirty debian package for sling launchpad standalone.jar

2014-11-07 Thread Felix Meschberger
Hi Bruce This sounds like a very interesting stuff ! Unfortunately the attachment didn’t make it to the list. Do you mind creating a JIRA issue at https://issues.apache.org/jira/browse/SLING attaching the patch ? This would also allow us to properly track the „ingestion“. Thank you very much.

[jira] [Commented] (SLING-4001) Apache Sling Resource Editor contribution

2014-10-24 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14182602#comment-14182602 ] Felix Meschberger commented on SLING-4001: -- bq. The Require-Bundle isn't good

Re: integrating a JavaScript library in a Sling project that doesn't have a public Java API

2014-10-24 Thread Felix Meschberger
Hi I am a bit confused, sorry. I am referring to the provider bundle at https://github.com/sandroboehme/jsNodeTypes. Is that correct ? Also having SLING-4001 in mind, I might come to the core of the problem: You want to deploy an application which depends on the functionality of the

Re: [RTC] SLING-4080 - API to capture/measure application-level metrics

2014-10-23 Thread Felix Meschberger
Hi I am +1 to have a common and easy to use (read deploy) metrics API. ...Also, as Ian says we need metrics all the way down to the Oak level,.. .. Or putting this simple API somewhere it can be used by both projects ?.. Ok, if we create a simple OSGi-friendly metrics library that's

[jira] [Commented] (SLING-4049) Errorhandling: Allow Configuration of Displaying Stacktraces/Request Progress

2014-10-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171198#comment-14171198 ] Felix Meschberger commented on SLING-4049: -- The error handling system

[jira] [Commented] (SLING-4049) Errorhandling: Allow Configuration of Displaying Stacktraces/Request Progress

2014-10-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171279#comment-14171279 ] Felix Meschberger commented on SLING-4049: -- The Sling Servlet Resolver has

Re: svn commit: r1631784 - /sling/trunk/launchpad/builder/src/main/bundles/list.xml

2014-10-14 Thread Felix Meschberger
Hi We may have discussed this similarly in the Jackrabbit days, but alas … Don’t we want to go with the most recent Oak release from the 1.1.x line ? Or is it by intent to stay on the slow, stable 1.0.x line ? Regards Felix Am 14.10.2014 um 17:17 schrieb bdelacre...@apache.org: Author:

[jira] [Assigned] (SLING-4016) Allow to override sling.max.calls per request

2014-10-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-4016: Assignee: Felix Meschberger Allow to override sling.max.calls per request

[jira] [Resolved] (SLING-4016) Allow to override sling.max.calls per request

2014-10-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-4016. -- Resolution: Fixed Thanks for providing the patch. I have applied it in Rev. 1630423

[jira] [Updated] (SLING-4016) Allow to override sling.max.calls per request

2014-10-09 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-4016: - Affects Version/s: Engine 2.3.6 Fix Version/s: Engine 2.3.8 Allow to override

[jira] [Created] (SLING-4006) [HtmlRendererServlet] Must setStatus(204) instead of sendError(204)

2014-10-06 Thread Felix Meschberger (JIRA)
Felix Meschberger created SLING-4006: Summary: [HtmlRendererServlet] Must setStatus(204) instead of sendError(204) Key: SLING-4006 URL: https://issues.apache.org/jira/browse/SLING-4006 Project

[jira] [Resolved] (SLING-4006) [HtmlRendererServlet] Must setStatus(204) instead of sendError(204)

2014-10-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-4006. -- Resolution: Fixed Fix Version/s: Servlets GET 2.1.12 Fixed in Rev. 1629607

[jira] [Created] (SLING-4007) [POST] Prevent NPE if no Session is available

2014-10-06 Thread Felix Meschberger (JIRA)
Felix Meschberger created SLING-4007: Summary: [POST] Prevent NPE if no Session is available Key: SLING-4007 URL: https://issues.apache.org/jira/browse/SLING-4007 Project: Sling Issue

[jira] [Resolved] (SLING-4007) [POST] Prevent NPE if no Session is available

2014-10-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-4007. -- Resolution: Fixed Fix Version/s: Servlets POST 2.3.8 Fixed in Rev. 1629608

[jira] [Commented] (SLING-3984) JSP Compilation failure under heavy load

2014-10-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14157770#comment-14157770 ] Felix Meschberger commented on SLING-3984: -- While I appreciate this fix

Re: Generating javadoc for the Sling 7 release

2014-10-03 Thread Felix Meschberger
Hi See http://sling.apache.org/apidocs/sling6/overview-summary.html#overview_description for how previous JavaDocs have been generated. Regards Felix Am 03.10.2014 um 12:56 schrieb Robert Munteanu romb...@apache.org: Hi, Does anyone have an idea about how to generate the javadoc for the

[jira] [Commented] (SLING-3983) Make Session UserData available in OSGI Event

2014-10-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14158050#comment-14158050 ] Felix Meschberger commented on SLING-3983: -- Please be aware that this would

Re: [jira] [Created] (SLING-3987) move from Subversion to Git

2014-10-02 Thread Felix Meschberger
Hi Oliver Am 01.10.2014 um 16:00 schrieb Oliver Lietz apa...@oliverlietz.de: Please discuss on list and add your findings to the wiki: https://cwiki.apache.org/confluence/display/SLING/Move+from+Subversion+to+Git First and foremost: Thanks for structuring a discussion which pops up every

Re: Maybe a Subsystem variant of the Launchpad?

2014-09-29 Thread Felix Meschberger
Hi I like the Sling subsystem generation very much. So we should maybe add some brain juice here. Yet: Am 27.09.2014 um 13:23 schrieb Oliver Lietz apa...@oliverlietz.de: On Tuesday 23 September 2014 21:18:14 David Bosschaert wrote: So I guess my attempt is more or less a failed

Re: [RT] Concistent model to describe an installation

2014-09-23 Thread Felix Meschberger
Hi Chetan Am 22.09.2014 um 19:05 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: On Mon, Sep 22, 2014 at 10:28 PM, Carsten Ziegeler cziege...@apache.org wrote: Right, but there is nothing specific we have to do in the model about it. You need a way to inject this stuff on deployment, and

Re: [RT] Concistent model to describe an installation

2014-09-22 Thread Felix Meschberger
Hi Am 22.09.2014 um 15:47 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: Hi Carsten, It would be good if following features can be supported in some form 1. Composition - Ability to include other slingstart file via various url schemes file, http etc. Need to define how the included

Re: [RT] Concistent model to describe an installation

2014-09-22 Thread Felix Meschberger
Hi Am 22.09.2014 um 17:09 schrieb Chetan Mehrotra chetan.mehro...@gmail.com: On Mon, Sep 22, 2014 at 8:15 PM, Felix Meschberger fmesc...@adobe.com wrote: I think in this case we explicitly don’t want this: Also, this is not the same as the case for 12factor configuration: This is basically

[jira] [Commented] (SLING-3961) Rhino on Windows: UTF-8 encoded source file causes script execution failure

2014-09-22 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14143597#comment-14143597 ] Felix Meschberger commented on SLING-3961: -- Scripts are read with UTF-8 character

[jira] [Commented] (SLING-3936) Poor performance when adding a large (?) number of sling.auth.requirements services

2014-09-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14135161#comment-14135161 ] Felix Meschberger commented on SLING-3936: -- Basically I think the patch is ok

[jira] [Commented] (SLING-3936) Poor performance when adding a large (?) number of sling.auth.requirements services

2014-09-16 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14135350#comment-14135350 ] Felix Meschberger commented on SLING-3936: -- LGTM. Thanks. Poor performance when

[jira] [Commented] (SLING-3933) Add OSGi Bundle Repository support back again to the web console

2014-09-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14133627#comment-14133627 ] Felix Meschberger commented on SLING-3933: -- +1 Add OSGi Bundle Repository

[jira] [Commented] (SLING-3932) Logout as admin does not work

2014-09-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14133626#comment-14133626 ] Felix Meschberger commented on SLING-3932: -- Could it be that the sample content

Re: [ANN] New Apache Sling Committer: Stefan Seifert

2014-09-08 Thread Felix Meschberger
Welcome and congratulations ! Keep the good things coming :-) Regards Felix Am 08.09.2014 um 13:21 schrieb Stefan Seifert sseif...@pro-vision.de: thank you very much! a few introductory words about me: i'm living (and was born) in berlin. i'm closely attached with apache projects

[jira] [Created] (SLING-3915) Launchpad ControlListener improvement

2014-09-08 Thread Felix Meschberger (JIRA)
Felix Meschberger created SLING-3915: Summary: Launchpad ControlListener improvement Key: SLING-3915 URL: https://issues.apache.org/jira/browse/SLING-3915 Project: Sling Issue Type

[jira] [Updated] (SLING-3915) Launchpad ControlListener improvement

2014-09-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3915: - Attachment: SLING-3915.patch Proposed patch Launchpad ControlListener improvement

Launchpad ControlListener improvement (SLING-3915)

2014-09-08 Thread Felix Meschberger
Hi all Please comment on SLING-3915 [1]: I was involved with a customer report indicating that the ControlListener would not work. The customer issued a stop command upon which the system should have shut down. This seems to not have been the case so the customer tried to issue stop

Re: [Features flag] Accessing Feature flags from background services

2014-09-02 Thread Felix Meschberger
Hi The Features service can be used by non-request processing threads, e.g. by background threads/tasks. Currently, though, it will only global feature state and not context sensitive state. With the proposed addition of the ResourceResolverHelper, which may place the ResourceResolver

Re: Tenant Implementation in Sling

2014-09-02 Thread Felix Meschberger
Hi Vineet No, the OSGi Configuration Admin service does not know about the Sling Tenant API and has no other tenant awareness for that matter. Hence, out of the box, the OSGi Configuration Admin service is not directly tenant aware. Configurations could be crafted, though, to simulate tenant

Re: Remove the simple demo?

2014-08-25 Thread Felix Meschberger
+1 Regards Felix Am 25.08.2014 um 17:39 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi, On Mon, Aug 25, 2014 at 2:53 PM, Carsten Ziegeler cziege...@apache.org wrote: ...I suggest we remove the sample or move it to contrib, although that doesn't really have a benefit as it is

Re: OSGI EventAdmin event handler blacklist

2014-08-22 Thread Felix Meschberger
Hi Tim Blacklisting is a feature of the Apache Felix Event Admin bundle and IIRC at least the timeout for blacklisting is configurable. You might want to check your application, whether blacklisting timeout has been reconfigured or not. I am not really aware, whether it can be analyzed whether

Re: Sling Request Filter filtering

2014-08-20 Thread Felix Meschberger
:00 Felix Meschberger fmesc...@adobe.com: Hi I am not sure, whether we should go down that route. A filter ist something which is a cross-cutting concern that the application places on the request processing. As such it is transparent to the client and it should not be client adressable

Sling Request Filter filtering

2014-08-18 Thread Felix Meschberger
Hi all I had various discussions around execution of Servlet API Filters in the Sling Engine. To recap: Currently all filters are always called. The service.ranking (or filter.order) service registration property can be used to define the order in which the filters are called and the

Re: Sling Request Filter filtering

2014-08-18 Thread Felix Meschberger
processing. Regards Felix Cheers, Jeff. On 18/08/2014 10:23, Felix Meschberger fmesc...@adobe.com wrote: Hi all I had various discussions around execution of Servlet API Filters in the Sling Engine. To recap: Currently all filters are always called. The service.ranking

Re: Sling Request Filter filtering

2014-08-18 Thread Felix Meschberger
. Regards Felix Am 18.08.2014 um 11:32 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi, On Mon, Aug 18, 2014 at 11:23 AM, Felix Meschberger fmesc...@adobe.com wrote: ... * filter.resourceType: The Filter is only called if the resourceType of the current Resource

[jira] [Commented] (SLING-3848) JcrNodeResource takes too long and initializes too much too soon

2014-08-18 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14100727#comment-14100727 ] Felix Meschberger commented on SLING-3848: -- One noticeable improvement

[jira] [Commented] (SLING-3850) Add comments to the OSGi configuration files stored in the repository

2014-08-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14098454#comment-14098454 ] Felix Meschberger commented on SLING-3850: -- Thanks [~asanso] for the details. So

[jira] [Commented] (SLING-3854) Add configuration option to restrict service user mapper to system users

2014-08-15 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14098502#comment-14098502 ] Felix Meschberger commented on SLING-3854: -- [~anchela] Thank you very much. From

[jira] [Commented] (SLING-3850) Add coment to the OSGi configuration files stored in the repository

2014-08-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14097206#comment-14097206 ] Felix Meschberger commented on SLING-3850: -- .. and because it is not JS but just

Re: Getting impersonator from resourceresolver

2014-08-08 Thread Felix Meschberger
Hi Ankush Am 08.08.2014 um 10:59 schrieb Ankush Malhotra amalh...@adobe.com: This works resolver().getAttribute(org.apache.sling.api.resource.ResourceResolver.USER_IMPERSONATOR); is it ok to use, is there a better way? Yes, looking at the JavaDoc I think I remember we introduced that

[jira] [Commented] (SLING-3290) Long startup time with many vanityPath

2014-08-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14084584#comment-14084584 ] Felix Meschberger commented on SLING-3290: -- bq. Did you follow the update

Re: Launchpad 7 Release?

2014-07-29 Thread Felix Meschberger
Hi Am 29.07.2014 um 10:00 schrieb Bertrand Delacretaz bdelacre...@apache.org: On Mon, Jul 28, 2014 at 6:40 PM, Oliver Lietz apa...@oliverlietz.de wrote: ...users also expect a major release to be stable. Something they can build on... Once we release 7 it should be much easier to release

Re: Launchpad 7 Release?

2014-07-29 Thread Felix Meschberger
Hi Am 29.07.2014 um 10:31 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi Felix, On Tue, Jul 29, 2014 at 10:25 AM, Felix Meschberger fmesc...@adobe.com wrote: ...I think a Sling App Release artifacts are just a service to the community and the source of the release really just

[jira] [Commented] (SLING-3786) Add tests and refactor JSON to String conversion

2014-07-28 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14076070#comment-14076070 ] Felix Meschberger commented on SLING-3786: -- While I agree with the goal, I doubt

Re: Proposal for Sling IDE Tooling release process

2014-07-20 Thread Felix Meschberger
Hi Robert Thanks for picking this up and proposing a solution. Very much appreciated. Actually it is even much simpler than that :-) The actual release repository is at https://dist.apache.org/repos/dist/release/sling. Notice the release part. There is also a repository

[jira] [Commented] (SLING-3737) Instance Sling Identifier may be randomly reset on restart

2014-07-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14054811#comment-14054811 ] Felix Meschberger commented on SLING-3737: -- [~marett] DataInputStream.readFully

[jira] [Commented] (SLING-3747) Provide a way to signal Jcr Installer to pause and resume scanning

2014-07-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14054841#comment-14054841 ] Felix Meschberger commented on SLING-3747: -- Thanks for providing the patch. Some

[jira] [Commented] (SLING-3737) Instance Sling Identifier may be randomly reset on restart

2014-07-08 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14054912#comment-14054912 ] Felix Meschberger commented on SLING-3737: -- The Sling ID is a machine identifier

[jira] [Commented] (SLING-3737) Instance Sling Identifier may be randomly reset on restart

2014-07-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053588#comment-14053588 ] Felix Meschberger commented on SLING-3737: -- Nice catch indeed. Yet, some asks

[jira] [Commented] (SLING-3737) Instance Sling Identifier may be randomly reset on restart

2014-07-07 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053623#comment-14053623 ] Felix Meschberger commented on SLING-3737: -- [~marett] DataInputStream.readFully

[jira] [Updated] (SLING-914) [JSP] Implement Compilable

2014-07-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-914: Summary: [JSP] Implement Compilable (was: Implement Compilable) [JSP] Implement

[jira] [Updated] (SLING-915) [Rhino] Implement Compilable

2014-07-03 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-915: Summary: [Rhino] Implement Compilable (was: Implement Compilable) [Rhino] Implement

Re: adaptTo and results ....

2014-07-03 Thread Felix Meschberger
and convoluted than the boiler plate for the null check. Regards Felix As Felix Meschberger already pointed out, neither the SlingAdaptable nor the AdapterManager currently catch any exceptions so that would work already with existing code and Sling Models could start right away throwing

Re: adaptTo and results ....

2014-07-03 Thread Felix Meschberger
is more than simple logging. The AEM6 WCMDeveloperModeFilter is a good example for another error treatment (catching the error within a servlet filter and then exposing via the Web UI). Good point Regards Felix On 03 Jul 2014, at 12:19, Felix Meschberger fmesc...@adobe.com wrote: Hi Am

adaptTo and results ....

2014-07-01 Thread Felix Meschberger
Hi There currently are two issues floating around dealing with the question of returning more information than just null from the Adaptable.adaptTo(Class) method: https://issues.apache.org/jira/browse/SLING-3714 and https://issues.apache.org/jira/browse/SLING-3709. I think these requests

Re: adaptTo and results ....

2014-07-01 Thread Felix Meschberger
Hi Am 01.07.2014 um 09:44 schrieb Bertrand Delacretaz bdelacre...@apache.org: On Tue, Jul 1, 2014 at 9:41 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...how about this: Foo f = someObject.adaptTo(RequireAdapter.for(Foo.class)); Actually, rereading SLING-3714, this can be made

[jira] [Commented] (SLING-3698) Ftp server doesn't honour default idle time configuration

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14043343#comment-14043343 ] Felix Meschberger commented on SLING-3698: -- Good finding. Thanks for reporting

[jira] [Updated] (SLING-3698) Ftp server doesn't honour default idle time configuration

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3698: - Attachment: SLING-3698.patch Taking an even simpler route: Using the existing

[jira] [Assigned] (SLING-3698) Ftp server doesn't honour default idle time configuration

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-3698: Assignee: Felix Meschberger Ftp server doesn't honour default idle time

[jira] [Updated] (SLING-3688) Sling ftp server should support configurable home directory for a user

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3688: - Fix Version/s: FTP Server 1.0.0 Sling ftp server should support configurable home

[jira] [Assigned] (SLING-3688) Sling ftp server should support configurable home directory for a user

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-3688: Assignee: Felix Meschberger Sling ftp server should support configurable home

[jira] [Resolved] (SLING-3688) Sling ftp server should support configurable home directory for a user

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-3688. -- Resolution: Fixed Thanks for providing the patch. I have applied it slightly modified

[jira] [Resolved] (SLING-2823) Move Sling based FTP Server to contrib

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-2823. -- Resolution: Fixed This is done and can be resolved. Move Sling based FTP Server

[jira] [Assigned] (SLING-3661) ftp server should support resumable file uploads

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-3661: Assignee: Felix Meschberger ftp server should support resumable file uploads

[jira] [Updated] (SLING-3661) ftp server should support resumable file uploads

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3661: - Fix Version/s: FTP Server 1.0.0 ftp server should support resumable file uploads

[jira] [Updated] (SLING-3661) ftp server should support resumable file uploads

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3661: - Attachment: SLING-3661-fmeschbe.patch Thanks for reporting. I agree that this feature

[jira] [Commented] (SLING-3661) ftp server should support resumable file uploads

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14044010#comment-14044010 ] Felix Meschberger commented on SLING-3661: -- [~amitgupt], [~alexander.klimetschek

[jira] [Updated] (SLING-3698) Ftp server doesn't honour default idle time configuration

2014-06-25 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3698: - Fix Version/s: FTP Server 1.0.0 Ftp server doesn't honour default idle time

Re: Subject: [VOTE] Release Apache Sling Scripting JavaScript Support 2.0.14

2014-06-23 Thread Felix Meschberger
+1 Regards Felix Am 19.06.2014 um 12:15 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi, We solved 7 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12316243 Staging repository:

Re: [jira] [Commented] (SLING-3413) add support for getName() and listChildren() to JS Resource API

2014-06-19 Thread Felix Meschberger
Maybe we should extract the Resource and JCR API host objects out of the Rhino bundle and provide them in separate bundles to detach the host objects and the base system ? And also to demonstrate how custom host objects can be provided. Regards Felix Am 19.06.2014 um 11:52 schrieb Bertrand

[jira] [Issue Comment Deleted] (SLING-3633) Sling uses wrong value for Principal object

2014-06-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Comment: was deleted (was: I am out of office, back on June 22. regards antonio

[jira] [Issue Comment Deleted] (SLING-3633) Sling uses wrong value for Principal object

2014-06-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Comment: was deleted (was: I am out of office, back on June 22. regards antonio

[jira] [Issue Comment Deleted] (SLING-3633) Sling uses wrong value for Principal object

2014-06-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Comment: was deleted (was: I am out of office, back on June 22. regards antonio

[jira] [Issue Comment Deleted] (SLING-3633) Sling uses wrong value for Principal object

2014-06-10 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Comment: was deleted (was: I am out of office, back on June 22. regards antonio

[jira] [Updated] (SLING-3633) Sling uses wrong value for Principal object

2014-06-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Fix Version/s: JCR Resource 2.3.8 Sling uses wrong value for Principal object

[jira] [Updated] (SLING-3633) Sling uses wrong value for Principal object

2014-06-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Component/s: (was: Authentication) Engine Sling uses wrong value

[jira] [Updated] (SLING-3633) Sling uses wrong value for Principal object

2014-06-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-3633: - Affects Version/s: Engine 2.3.2 Sling uses wrong value for Principal object

[jira] [Commented] (SLING-3633) Sling uses wrong value for Principal object

2014-06-06 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14019638#comment-14019638 ] Felix Meschberger commented on SLING-3633: -- Updated component to be Engine (since

[jira] [Commented] (SLING-3217) Automatically expose SlingBindings object through EL

2014-06-04 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14018499#comment-14018499 ] Felix Meschberger commented on SLING-3217: -- [~justinedelson] Ah, missed your

Re: [VOTE] Release Apache Sling Commons Classloader 1.3.2

2014-04-16 Thread Felix Meschberger
+1 Regards Felix Am 12.04.2014 um 02:19 schrieb Carsten Ziegeler cziege...@apache.org: Hi, We solved some issues: https://issues.apache.org/jira/browse/SLING/fixforversion/12321292 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1048 You can

Re: Support REST-ful APIs

2014-04-16 Thread Felix Meschberger
/content/foo links to your clients and then later add support for a new media type without having to touch any URLs. Cheers, Alex On 13.04.2014, at 23:24, Roy T. Fielding field...@gbiv.com wrote: On Apr 7, 2014, at 12:24 AM, Felix Meschberger wrote: TL;DR: Use Accept header to set

Re: Support REST-ful APIs

2014-04-16 Thread Felix Meschberger
Hi Thanks for insights. Very helpful ! Am 13.04.2014 um 23:24 schrieb Roy T. Fielding field...@gbiv.com: On Apr 7, 2014, at 12:24 AM, Felix Meschberger wrote: TL;DR: Use Accept header to set request's selectors and extension. So an example Accept content type of application/x-players+json

Re: Support REST-ful APIs

2014-04-11 Thread Felix Meschberger
: On 2014-04-07 15:59, Felix Meschberger wrote: Hi Ok, it is not exactly arbitrary logic. Turns out that content types of the style application/someformat+somesyntax are pretty common (see [1], [2]). Also when talking about REST-ful APIs I expect some application on the other (client

[jira] [Created] (SLING-3498) Don't log stacktrace on IOException

2014-04-08 Thread Felix Meschberger (JIRA)
Felix Meschberger created SLING-3498: Summary: Don't log stacktrace on IOException Key: SLING-3498 URL: https://issues.apache.org/jira/browse/SLING-3498 Project: Sling Issue Type: Bug

Support REST-ful APIs

2014-04-07 Thread Felix Meschberger
Hi all TL;DR: Use Accept header to set request's selectors and extension. So an example Accept content type of application/x-players+json would set the selector string to players and the extension to json. We always touted Sling to be a platform for REST-ful web applications. But we cheated a

Re: Support REST-ful APIs

2014-04-07 Thread Felix Meschberger
Hi Am 07.04.2014 um 09:42 schrieb Bertrand Delacretaz bdelacre...@apache.org: Hi, On Mon, Apr 7, 2014 at 9:24 AM, Felix Meschberger fmesc...@adobe.com wrote: ...TL;DR: Use Accept header to set request's selectors and extension. So an example Accept content type of application/x-players

Re: Support REST-ful APIs

2014-04-07 Thread Felix Meschberger
out to be not so good. - other headers, e.g. Accept-Language, could also be easily supported. Regards Julian On Mon, Apr 7, 2014 at 10:13 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: On Mon, Apr 7, 2014 at 9:58 AM, Felix Meschberger fmesc...@adobe.com wrote: ...I would prefer

[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

ResourceUtil.resourceTypeToPath: String.replaceAll

2014-03-14 Thread Felix Meschberger
Hi I am playing around with performance testing and noticed that the ResourceUtil.resourceTypeToPath method uses String.replaceAll to replace colons with slashes. I have the impression using a regular expression to replace a single character with another character is overkill and replacing

<    1   2   3   4   5   6   7   8   9   10   >