[jira] [Commented] (SLING-2136) Sling POST Servlet: Configuration of Allowed Paths

2012-02-15 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208596#comment-13208596 ] Alexander Klimetschek commented on SLING-2136: -- @Justin: The paths

Re: [VOTE] Deprecate ResourceDecorator.decorate(Resource, HttpServletRequest)

2012-02-13 Thread Alexander Klimetschek
) >> [ ] 0 >> [ ] -1 - don't deprecate >> >> Note - if you vote -1, please provide an alternative. It could be the >> strawman, it could be >> something else, but I'd really like to see this fixed. > > +1 to deprecate. > > Regards > Felix > >> >> Thanks >> Justin > -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] [Commented] (SLING-2364) ResourceUtil should provide a method to get the parent on an arbitrary level

2012-02-13 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206904#comment-13206904 ] Alexander Klimetschek commented on SLING-2364: -- FWIW:

Re: what should resourceResolver.map(" ") do?

2012-01-16 Thread Alexander Klimetschek
rs to the resource "/ ", not " "... So " " would be definitely a relative resource if considered valid. I would check what JCR does. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] [Commented] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-12-13 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168499#comment-13168499 ] Alexander Klimetschek commented on SLING-2251: -- @Antonio: It'

Re: Jenkins build is still unstable: sling-trunk-1.5 » Apache Sling Launchpad Testing WAR version #1479

2011-12-12 Thread Alexander Klimetschek
is still unstable: sling-trunk-1.5 » Apache Sling >Launchpad Testing WAR version #1479 > >See ><https://builds.apache.org/job/sling-trunk-1.5/org.apache.sling$org.apache >.sling.launchpad.testing-war/1479/> > > > -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] [Commented] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-12-07 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164249#comment-13164249 ] Alexander Klimetschek commented on SLING-2251: -- Probably not important,

[jira] [Commented] (SLING-2136) Sling POST Servlet: Configuration of Allowed Paths

2011-11-24 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156808#comment-13156808 ] Alexander Klimetschek commented on SLING-2136: -- Forcing the :opera

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-24 Thread Alexander Klimetschek
So you offer your hard work not only over HTTP with Sling, but to other more complex application code running on the server. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-24 Thread Alexander Klimetschek
make it easier to do things like that in Jackrabbit. A custom AccessControlProvider (for one of the original use cases) should not be difficult, it's a very simple interface IIRC. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Providers for non-JCR data storage? (was: [RT] Improving access control)

2011-11-23 Thread Alexander Klimetschek
in comparison. But not a standard. One of the goals of JCR was to provide unified access to data silos ;-) It might be a bit more work to implement JCR API parts (though the Jackrabbit and jcr-commons parts help a lot), but in the overall picture it provides more benefit IMO. Cheers, Alex --

Re: [RT] Improving access control

2011-11-22 Thread Alexander Klimetschek
But again the question (as asked by me and Vidar): why does Sling need that? What is wrong with a resource provider simply not returning resources where the user has no access, as it is already the case with the JCR provider? Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day

Re: [RT] Improving access control

2011-11-22 Thread Alexander Klimetschek
verything in Sling's resource API. BTW: Where does Sling need resource checking? If something is not accessible = readable, it should simply not be returned from the resource provider (as JCR does). Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [RT] Improving access control

2011-11-22 Thread Alexander Klimetschek
control won't be used at all. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [RT] Improving access control

2011-11-14 Thread Alexander Klimetschek
how resource based or principal based ACLs inherit, what an effective ACL is made of etc. Allowing yet another mechanism to basically override the JCR access control "from the outside" doesn't sound good to me. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [PROPOSAL] add Adapter Metadata services

2011-11-13 Thread Alexander Klimetschek
ot;org.apache.sling.api.resource.ValueMap": "If the resource is a JcrNodeResource", "java.io.InputStream": "If the resource is a JcrNodeResource and has a jcr:data property or in an nt:file node", "org.apache.sling.api.resource.PersistableValueMap": "If the resource is a JcrNodeResource and the user has set property privileges on the node" ] } Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [PROPOSAL] add Adapter Metadata services

2011-11-12 Thread Alexander Klimetschek
or all adapters. Your example gist is a good case: the InputStream is only possible if that resource is a JCRNodeResource *and* an nt:file with binary content. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Nodetype dependent code

2011-11-07 Thread Alexander Klimetschek
/folder might be a location. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Handling requests to .../j_security_check

2011-11-05 Thread Alexander Klimetschek
est processing) but the request is >>POST to .../j_security_check, then the request should actually fail with >>a 403. +1 >But I'd suggest making this a configurable list of paths, defaulting >to /j_security_check +1 Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] [Updated] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-11-01 Thread Alexander Klimetschek (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-2251: - Attachment: SLING-2251.patch Added patch as noted in my above comment

[jira] [Commented] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-10-19 Thread Alexander Klimetschek (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130579#comment-13130579 ] Alexander Klimetschek commented on SLING-2251: -- An (untested) patch woul

[jira] [Updated] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-10-19 Thread Alexander Klimetschek (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-2251: - Description: SLING-1965 (more specifically http://svn.apache.org/viewvc?view

[jira] [Updated] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-10-19 Thread Alexander Klimetschek (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-2251: - Description: SLING-1965 (more specifically http://svn.apache.org/viewvc?view

[jira] [Created] (SLING-2251) RedirectServlet should create relative Location headers as often as possible

2011-10-19 Thread Alexander Klimetschek (Created) (JIRA)
Issue Type: Improvement Components: Servlets Affects Versions: Servlets Get 2.1.2 Reporter: Alexander Klimetschek SLING-1965 (more specifically http://svn.apache.org/viewvc?view=revision&revision=903175 ) changed the redirect servlet so that it _always_ generate

[jira] [Closed] (SLING-2249) BufferedPrintWriter logging misses argument # of chars

2011-10-18 Thread Alexander Klimetschek (Closed) (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek closed SLING-2249. Oh, good to know :-) > BufferedPrintWriter logging misses argum

[jira] [Created] (SLING-2249) BufferedPrintWriter logging misses argument # of chars

2011-10-18 Thread Alexander Klimetschek (Created) (JIRA)
Affects Versions: Engine 2.2.0 Reporter: Alexander Klimetschek Priority: Minor In debug logging, the BufferedPrintWriter always logs the placeholder "{0}" instead of the actual number of chars: org.apache.sling.engine.impl.output.BufferedPrintWriter write:

Re: [jira] [Resolved] (SLING-2120) Add functionality to ignore some parameters from POST requests

2011-06-30 Thread Alexander Klimetschek
lity to specify regular expressions for >>parameters which are to be ignored (apart from the existing mechanism). >>The default would be "j_.*" to ignore any parameters starting with j_ >>generally used for authentication > >-- >This message is automatically generated by JIRA. >For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] [Commented] (SLING-1905) Custom LocaleResolver cannot fall back to using the locale from the request's Accept-Language header

2011-06-20 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052080#comment-13052080 ] Alexander Klimetschek commented on SLING-1905: -- Thanks! >

[jira] [Updated] (SLING-2099) NPE in SlingServletResolver.resolveServlet() for no matches if debug logging enabled

2011-06-07 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-2099: - Attachment: SLING-2099.patch Simple patch, avoiding the log for servlet == null

[jira] [Created] (SLING-2099) NPE in SlingServletResolver.resolveServlet() for no matches if debug logging enabled

2011-06-07 Thread Alexander Klimetschek (JIRA)
: Sling Issue Type: Bug Components: Servlets Affects Versions: Servlets Resolver 2.1.0 Reporter: Alexander Klimetschek Priority: Minor Steps to reproduce: - enable debug logging for org.apache.sling.servlets.resolver - call

[jira] [Created] (SLING-2082) XSS vulnerability: HtmlResponse output does not escape URLs in HTML

2011-05-18 Thread Alexander Klimetschek (JIRA)
Components: API, Servlets Reporter: Alexander Klimetschek A POST request including a

Re: RequestDispatcher Resource not found

2011-04-13 Thread Alexander Klimetschek
I dont quite grok what you are saying... > >On Wed, Apr 13, 2011 at 2:40 PM, Alexander Klimetschek >wrote: > >> On 13.04.11 14:30, "tim tam" wrote: >> >> >Wow- that is a biggie, for me at least. >> >Let me try to verify this- to be sure >> >

Re: RequestDispatcher Resource not found

2011-04-13 Thread Alexander Klimetschek
-->someinclude.jsp >(needs to include pleaseincludeme.jsp, with c:import or some custom tags >from 3rd party lib) In this case you need to get the request dispatcher from the other webapp (b.war) to include the paths/jsps it covers (such as pleaseincludeme.jsp). Regards, Alex -- Alexander

Re: [JSON] Stable Child Resource Order

2011-04-11 Thread Alexander Klimetschek
On 11.04.11 05:50, "Felix Meschberger" wrote: >Am Freitag, den 08.04.2011, 12:04 +0100 schrieb Alexander Klimetschek: >> On 08.04.11 08:01, "Carsten Ziegeler" wrote: >> >maps rarely have an order regardless of the language. >> >> A linked map is

Re: [day-communique] Idea: Sling / CQ Meetup in Berlin

2011-04-10 Thread Alexander Klimetschek
;To post to this group, send email to day-communi...@googlegroups.com. >To unsubscribe from this group, send email to >day-communique+unsubscr...@googlegroups.com. >For more options, visit this group at >http://groups.google.com/group/day-communique?hl=en. > > -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-08 Thread Alexander Klimetschek
On 08.04.11 08:01, "Carsten Ziegeler" wrote: >maps rarely have an order regardless of the language. A linked map is not an unusual data structure. As Tobi noted, WCM/CMS is a prominent use case. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
7;s what we are discussing: how to integrate it as simple as possible without breaking things ;-) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
On 07.04.11 20:46, "Alexander Klimetschek" wrote: >On 07.04.11 19:38, "Eric Norman" wrote: >>why not just render the ordered child nodes as a json array? > >This would be much more incompatible with the existing way of using a JSON >object, and then you nee

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
node's names must be. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
nd-trippable (i.e. adding support for :order as an array to the Sling POST servlet), why not? Inventing new names adds complexity and potential for confusion... Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
node-order" or ":sling:child-node-order" instead of a single >character. What about using ":order"? And the selector would be "order" as well (e.g. "foo.order.infinity.json"). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [VOTE] Release Apache Sling Internationalization Support 2.1.0

2011-04-06 Thread Alexander Klimetschek
x27;t release, because ... > >This vote will be open for 72 hours. > > >Regards >Felix > > > -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: I18N Bundle

2011-04-06 Thread Alexander Klimetschek
On 05.04.11 12:27, "Felix Meschberger" wrote: >At the same time, I think we might want to move it from >contrib/extensions to bundles/extensions and add it to the >launchpad/builder project. +1 - it is enough mature to be not just "contrib" :-) Regards, Alex -- Al

Re: [jira] [Commented] (SLING-1967) Document possibility of caching in Adaptable

2011-03-21 Thread Alexander Klimetschek
bit "ugly", although it is definitely the caller that wants to make the cache/no cache decision. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [suggestion] - OSGI WebConsole

2011-03-02 Thread Alexander Klimetschek
ervlets are very robust in this regard. But I agree that not having a templating mechanism such as JSP makes it hard to work on it. Just my 2 cents, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] Updated: (SLING-1994) SlingRequestProcessor javadoc names the response argument "resource"

2011-02-24 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1994: - Attachment: SLING-1994.patch Simple patch. > SlingRequestProcessor java

[jira] Created: (SLING-1994) SlingRequestProcessor javadoc names the response argument "resource"

2011-02-24 Thread Alexander Klimetschek (JIRA)
Issue Type: Improvement Components: Engine Affects Versions: Engine 2.2.0 Reporter: Alexander Klimetschek Priority: Minor "HttpServletResponse resource" should be "HttpServletResponse response". Feels especially weird in IDE autocomp

[jira] Updated: (SLING-1983) Post servlet: Patching multi-value properties

2011-02-17 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1983: - Description: As described on the sling list http://sling.markmail.org/thread

Re: [POST servlet] Patching multi-value properties

2011-02-16 Thread Alexander Klimetschek
On 27.01.11 15:11, "Alexander Klimetschek" wrote: >I'd like to propose an extension to the Sling POST servlet. I created http://issues.apache.org/jira/browse/SLING-1983 for this, and attached a patch, which - as a side-effect - simplifies the rather complex set property

[jira] Updated: (SLING-1983) Post servlet: Patching multi-value properties

2011-02-16 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1983: - Attachment: SLING-1983.patch This patch will add @Patch support as described

[jira] Created: (SLING-1983) Post servlet: Patching multi-value properties

2011-02-16 Thread Alexander Klimetschek (JIRA)
Reporter: Alexander Klimetschek As described on the sling list http://sling.markmail.org/thread/xxaaqowtx7jgfo3p, allow patching of multi-value properties: New "@Patch" suffix: my:property@TypeHint=String[] my:property@Patch=true my:property=+value1 my:property=-value1 When &

Re: Integration tests failing

2011-02-16 Thread Alexander Klimetschek
On 15.02.11 21:02, "Alexander Klimetschek" wrote: >the integration tests fail for me. In the trunk I do > >> cd launchpad/integration-tests >> mvn test -Dtest=PostServlet* I got it running in the meantime (thanks to Bertrand). The above is not enough, you need to do:

Integration tests failing

2011-02-15 Thread Alexander Klimetschek
- I/O exception (java.net.ConnectException) caught when processing request: Connection refused 43314 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request ... and all tests fail. Any idea? Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] Commented: (SLING-1974) Accept header issues in the Sling POST Servlet

2011-02-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993045#comment-12993045 ] Alexander Klimetschek commented on SLING-1974: -- > The reason for the

[jira] Commented: (SLING-1974) Accept header issues in the Sling POST Servlet

2011-02-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992999#comment-12992999 ] Alexander Klimetschek commented on SLING-1974: -- If we don't want

[jira] Commented: (SLING-1974) Accept header issues in the Sling POST Servlet

2011-02-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992982#comment-12992982 ] Alexander Klimetschek commented on SLING-1974: -- > the client can ov

[jira] Commented: (SLING-1974) Accept header issues in the Sling POST Servlet

2011-02-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992981#comment-12992981 ] Alexander Klimetschek commented on SLING-1974: -- @Carsten: I (and Bert

[jira] Commented: (SLING-1974) Accept header issues in the Sling POST Servlet

2011-02-10 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992963#comment-12992963 ] Alexander Klimetschek commented on SLING-1974: -- > use server-side con

[jira] Created: (SLING-1967) Document possibility of caching in Adaptable

2011-02-03 Thread Alexander Klimetschek (JIRA)
Versions: API 2.2.0 Reporter: Alexander Klimetschek SLING-1673 added caching in SlingAdaptable. This means that Adaptable.adapTo() users must be aware that there won't be a new instance of the requested object upon repeated calls. This should be documented in adaptTo(), i.e. tha

Re: [POST servlet] Patching multi-value properties

2011-02-01 Thread Alexander Klimetschek
On 01.02.11 04:10, "Justin Edelson" wrote: >On Jan 31, 2011, at 12:27 PM, Alexander Klimetschek >wrote: > >> The latter is not really possible... one must be able to remove certain >> parameters from the request or from the RequestProperty list to do so.

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
d they can modify the map? interface PreProcessor { void process(SlingHttpServletRequest, List); } Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
ntire list anyway to properly define the list operations. Note that in the "set" case, the client is _not_ required to know the set at all! Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
Hi again, could I assume silent agreement to this feature? ;-) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
On 27.01.11 15:59, "Alexander Klimetschek" wrote: >The "add" operation would be implemented as (pseudo code): > >Values[] v = prop.getValues(); >if (v contains "value1") { >v += "value1"; >) Ah, this should of course be if (not (

Re: [POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
ot;remove" operation would be: Values[] v = prop.getValues(); for each (Value val in v) { if (val == "value2") { v.remove(val); } ) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
rt with either "+" or "-", followed by the actual value. These two would represent the operations you want to have executed on the set. WDYT? I would provide a Patch-patch ;-). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

[jira] Updated: (SLING-1916) Json renderer servlet should use a new RecursionTooDeepException.getLevel() instead of parsing the message

2011-01-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1916: - Description: The JsonRendererServlet together with the ResourceTraversor use the

[jira] Created: (SLING-1916) Json renderer servlet should use a new RecursionTooDeepException.getLevel() instead of parsing the message

2011-01-04 Thread Alexander Klimetschek (JIRA)
/jira/browse/SLING-1916 Project: Sling Issue Type: Bug Components: Servlets Affects Versions: Servlets Get 2.1.0 Reporter: Alexander Klimetschek Priority: Minor The JsonRendererServlet together with the ResourceTraversor use the

[jira] Updated: (SLING-1916) Json renderer servlet should use a new RecursionTooDeepException.getLevel() instead of parsing the message

2011-01-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1916: - Issue Type: Improvement (was: Bug) > Json renderer servlet should use a

[jira] Created: (SLING-1905) Custom LocaleResolver cannot fall back to using the locale from the request's Accept-Language header

2010-12-29 Thread Alexander Klimetschek (JIRA)
rowse/SLING-1905 Project: Sling Issue Type: Improvement Components: Extensions Affects Versions: I18n 2.0.4 Reporter: Alexander Klimetschek It is difficult for a custom LocaleResolver to use the default request locale (based on the HTTP Accept-Lan

[jira] Commented: (SLING-1899) JcrResourceResolver map method is not reverse operation of resolve method with special chars in path

2010-12-17 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972511#action_12972511 ] Alexander Klimetschek commented on SLING-1899: -- > not a convenience la

[jira] Commented: (SLING-1899) JcrResourceResolver map method is not reverse operation of resolve method with special chars in path

2010-12-17 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972481#action_12972481 ] Alexander Klimetschek commented on SLING-1899: -- > the map method sh

Re: sideeffects of ResourceResolver.map method

2010-11-19 Thread Alexander Klimetschek
onfiguration that includes hostnames, which then might end up in what is returned from the map() methods. Hence both methods are designed to return URIs (absolute or relative), hence the externalization, namespace mangling and URL encoding. To parse it back into its pieces, one has to act like in requ

[jira] Updated: (SLING-1815) Improve error handling of "broken pipe" socket exceptions

2010-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1815: - Attachment: broken-pipe-stacktraces.txt > Improve error handling of "bro

[jira] Commented: (SLING-1815) Improve error handling of "broken pipe" socket exceptions

2010-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916952#action_12916952 ] Alexander Klimetschek commented on SLING-1815: -- This happens when acces

[jira] Updated: (SLING-1815) Improve error handling of "broken pipe" socket exceptions

2010-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1815: - Affects Version/s: Engine 2.1.0 Engine 2.0.6

[jira] Created: (SLING-1815) Improve error handling of "broken pipe" socket exceptions

2010-10-01 Thread Alexander Klimetschek (JIRA)
Reporter: Alexander Klimetschek If the client (browser) kills the socket connection mid-request, one gets broken pipe exception stack traces, exactly three of them (see attachment). The problem is that the error handling doesn't work on them, as the response is already written, and you a

[jira] Commented: (SLING-1814) Add support for Range requests to the StreamRendererServlet

2010-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916947#action_12916947 ] Alexander Klimetschek commented on SLING-1814: -- To add a use case: Mo

[jira] Created: (SLING-1813) Update json.org JSONObject to fix unicode character encoding issue

2010-10-01 Thread Alexander Klimetschek (JIRA)
Components: Commons Affects Versions: Commons JSON 2.0.4, Commons JSON 2.0.2 Reporter: Alexander Klimetschek Special unicode characters like the LS (\u2028) line separator in a string value make the generated json invalid. This seems to be fixed in the latest version of the

[jira] Commented: (SLING-1725) Register internal post operations as services for consumption by servlets other than the SlingPostServlet

2010-09-03 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905850#action_12905850 ] Alexander Klimetschek commented on SLING-1725: -- Cool, but I would add the

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
it would be such a big breakage (or none at all), and since it is probably rather seldom, that people have their custom operation, I think one could make such an API change. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
ator, MediaRangeList would go somewhere else. But especially that thing could be useful for implementing strict RESTful servlets, that should operate on the Accepts header, something which isn't very much supported in Sling so far. But this is quite OT now. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
d. > > WDYT ? If we say that making the currently internal classes public is no option, +1 for that. For the "interesting" stuff, like NodeNameGenerator or MediaRangeList and co, I'd suggest to move them to public locations in commons-style-libraries, such as jackrabbit-jcr-commons or (I-don't-know-yet), to make them publicly available. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
gt; jackrabbit-accessmanager does? It's not pretty, but works. Ahem, yes, I could, but Felix would probably kill me for doing that ;-) Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 18:38, Alexander Klimetschek wrote: > On Thu, Aug 26, 2010 at 16:52, Felix Meschberger wrote: >> You might also want to consider providing a SlingPostProcessor. > > No, I want to use the ModifyOperation in my context, not the other way > around. A

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 16:52, Felix Meschberger wrote: > On 26.08.2010 15:34, Alexander Klimetschek wrote: >> On Thu, Aug 26, 2010 at 14:47, Felix Meschberger wrote: >> Then the servlet looses a lot of control: >> - response handling > > Would it be helpful to

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 15:34, Alexander Klimetschek wrote: > Then making all of them services (2) is the way to go. No, I meant (1), of course. Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
of them services (2) is the way to go. I probably could also have a SlingPostOperation myself, instead of the servlet, but that one couldn't make use of all the built-in logic of the existing operations. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
attribute in request given via run() method -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: JCR Tools roundup

2010-08-10 Thread Alexander Klimetschek
connect to my sling-jackrabbit repository, neither through RMI > nor transiently. I guess due to the lack of a standard connection mechanism > in JCR 1.0? No, there has always been RMI. But a 1.0 client won't work with a 2.0 server. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Resolved: (SLING-1629) Add methods for externalizing links to SlingHttpServletRequest

2010-08-09 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek resolved SLING-1629. -- Resolution: Won't Fix As per discussion on http://sling.markmail.org/t

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
he client, have a similar one (or decide via a flag) for generating relative URLs (what ResourceResolver.map(request, path) is doing). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
On Fri, Aug 6, 2010 at 12:07, Carsten Ziegeler wrote: > Alexander Klimetschek  wrote > >> Another reason for the prominent place is that it teaches people to do >> the right thing more easily. I have seen many cases that create links >> without considering context

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
On Fri, Aug 6, 2010 at 10:24, Carsten Ziegeler wrote: > Alexander Klimetschek  wrote >> On Fri, Aug 6, 2010 at 08:10, Carsten Ziegeler wrote: >>> What about a helper class (static methods) or a jsp taglib? >> >> I was preferring them on the request, as you then don

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
ds, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1629) Add methods for externalizing links to SlingHttpServletRequest

2010-08-05 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895816#action_12895816 ] Alexander Klimetschek commented on SLING-1629: -- Hmm, might not be enoug

[jira] Updated: (SLING-1629) Add methods for externalizing links to SlingHttpServletRequest

2010-08-05 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1629: - Description: When creating links in responses there are two cases: 1) create it

[RT] SlingHttpServletRequest.externalize() methods

2010-08-05 Thread Alexander Klimetschek
URLs). Therefore additional methods on the request object make sense, I think. See https://issues.apache.org/jira/browse/SLING-1629 for a patch. WDYT? Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Updated: (SLING-1629) Add methods for externalizing links to SlingHttpServletRequest

2010-08-05 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1629: - Attachment: SLING-1629.patch Patch adding the two externalize() methods

[jira] Created: (SLING-1629) Add methods for externalizing links to SlingHttpServletRequest

2010-08-05 Thread Alexander Klimetschek (JIRA)
Components: API, Engine Reporter: Alexander Klimetschek Priority: Minor When creating links in responses there are two cases: 1) create it for use by the browser: URLs relative to the current request 2) link used by external apps: absolute URL including hostname etc

<    2   3   4   5   6   7   8   9   >