You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Pe...@softwareag.com on 2004/05/12 14:39:31 UTC

Problem in PropertyRetrieverImpl

The following fixes (see below) in PropertyRetrieverImpl are causing problems: the context path (e.g. "slide") is missing in some <href> values of properties (e.g. DAV:acl, DAV:checked-in).

I have the impression that bug #28079 anyway is not completely solved: when I change the init-param "default-servlet" to "false" and change the servlet-mapping/url-pattern from "/" to "/cake" I cannot really work with the servlet path /slide/cake ... hmm ... am I missing something?

So, I checked-in a fix which reverts part of the changes (see attached src.diff [a bit blown-up - sorry] which applies to src/webdav/server/org/apache/slide/webdav/util of SLIDE_2_0_RELEASE_BRANCH). As far as I can see it doesn't make the thing with bug #28079 neither worse :) nor better :(

----------------------------
Revision : 1.31.2.2
Date : 2004/3/14 18:14:56
Author : 'mholz'
State : 'Exp'
Lines : +55 -74
Description :
Fixedhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=27340.
WebdavUtils.getAbsolutePath expects the servlet path
(the result ofHttpServletRequest.getServletPath()),
not a serverURL.

----------------------------
Revision : 1.31.2.3
Date : 2004/4/1 13:46:39
Author : 'ozeigermann'
State : 'Exp'
Lines : +7 -7
Description :
Applied patch for bug #28079



Regards,
Peter


Re: Problem in PropertyRetrieverImpl

Posted by Stefan Lützkendorf <lu...@apache.org>.
Sorry, that was a really late answer, I have lost the overview about my mailbox,
and your mail was still unread.
Is that still an issue?
Stefan

Stefan Lützkendorf wrote:
> Please try to map the servlet to /cake/* instead of /cake.
> Stefan
> 
> Peter.Nevermann@softwareag.com wrote:
> 
>> The following fixes (see below) in PropertyRetrieverImpl are causing 
>> problems: the context path (e.g. "slide") is missing in some <href> 
>> values of properties (e.g. DAV:acl, DAV:checked-in).
>>
>> I have the impression that bug #28079 anyway is not completely solved: 
>> when I change the init-param "default-servlet" to "false" and change 
>> the servlet-mapping/url-pattern from "/" to "/cake" I cannot really 
>> work with the servlet path /slide/cake ... hmm ... am I missing 
>> something?
>>
>> So, I checked-in a fix which reverts part of the changes (see attached 
>> src.diff [a bit blown-up - sorry] which applies to 
>> src/webdav/server/org/apache/slide/webdav/util of 
>> SLIDE_2_0_RELEASE_BRANCH). As far as I can see it doesn't make the 
>> thing with bug #28079 neither worse :) nor better :(
>>
>> ----------------------------
>> Revision : 1.31.2.2
>> Date : 2004/3/14 18:14:56
>> Author : 'mholz'
>> State : 'Exp'
>> Lines : +55 -74
>> Description :
>> Fixedhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=27340.
>> WebdavUtils.getAbsolutePath expects the servlet path
>> (the result ofHttpServletRequest.getServletPath()),
>> not a serverURL.
>>
>> ----------------------------
>> Revision : 1.31.2.3
>> Date : 2004/4/1 13:46:39
>> Author : 'ozeigermann'
>> State : 'Exp'
>> Lines : +7 -7
>> Description :
>> Applied patch for bug #28079
>>
>>
>>
>> Regards,
>> Peter
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Problem in PropertyRetrieverImpl

Posted by Stefan Lützkendorf <lu...@apache.org>.
Please try to map the servlet to /cake/* instead of /cake.
Stefan

Peter.Nevermann@softwareag.com wrote:
> The following fixes (see below) in PropertyRetrieverImpl are causing problems: the context path (e.g. "slide") is missing in some <href> values of properties (e.g. DAV:acl, DAV:checked-in).
> 
> I have the impression that bug #28079 anyway is not completely solved: when I change the init-param "default-servlet" to "false" and change the servlet-mapping/url-pattern from "/" to "/cake" I cannot really work with the servlet path /slide/cake ... hmm ... am I missing something?
> 
> So, I checked-in a fix which reverts part of the changes (see attached src.diff [a bit blown-up - sorry] which applies to src/webdav/server/org/apache/slide/webdav/util of SLIDE_2_0_RELEASE_BRANCH). As far as I can see it doesn't make the thing with bug #28079 neither worse :) nor better :(
> 
> ----------------------------
> Revision : 1.31.2.2
> Date : 2004/3/14 18:14:56
> Author : 'mholz'
> State : 'Exp'
> Lines : +55 -74
> Description :
> Fixedhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=27340.
> WebdavUtils.getAbsolutePath expects the servlet path
> (the result ofHttpServletRequest.getServletPath()),
> not a serverURL.
> 
> ----------------------------
> Revision : 1.31.2.3
> Date : 2004/4/1 13:46:39
> Author : 'ozeigermann'
> State : 'Exp'
> Lines : +7 -7
> Description :
> Applied patch for bug #28079
> 
> 
> 
> Regards,
> Peter
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org