You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Da...@inventivedesigners.com on 2005/02/24 11:35:03 UTC

Incorrect behaviour if scope parameter

Hi,

I configured slide to use auto-versioning. I also set the scope of slide 
to /files (web.xml).

This results in strange behaviour when requesting the revisions of a 
resource: On line number 2 (in the response XML below) it is stated that 
revision 1.1 of my resource can be found at location 
/warehouse-repositoryry/1/1.1, but this should be 
/warehouse-repository/history/1/1.1!! When I try to get the revision 
resource, I get the expected 404 error...

When I use an empty string as scope (the default) I don't have this kind 
of problems... 
Is this a known issue?

Thanks,

David.


==== REPONSE

Content of one of the ResponseEntities in the enumeration returned by the 
reportMethod of the WebdavResource class (webdav client):

01. <D:response>&#10;
02.     <D:href>/warehouse-repositoryry/1/1.1</D:href>&#10;
03.     <D:propstat>&#10;
04.             <D:prop>&#10
05.                     <D:version-name>1.1</D:version-name>&#10;
06.                     <D:owner>&#10;
07. <D:href>/warehouse-repository/users/david</D:href>&#10;
08.                     </D:owner>&#10;
09.             </D:prop>&#10;
10.             <D:status>HTTP/1.1 200 OK</D:status>&#10;
11.     </D:propstat>&#10;
12. </D:response>

In the server the following message appears:

2/24/05 11:26:28 AM CET [PoolThread-14] [INFO] HTTP PROPFIND - Uri: 
/warehouse-repositoryry/1/1.2 - From: 127.0.0.1 - Proxy for:  - Time: 
2/24/05 11:26 AM - User:  - Response Code: 404


--------------------------------------------------
Inventive Designers' Email Disclaimer:

http://www.inventivedesigners.com/email-disclaimer

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