Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.0.2, 1.1
-
Fix Version/s: 1.1
-
Component/s: repository interface, WebDAV Interface
-
Labels:None
-
Environment:Tomcat 6.0.14
Ubuntu Linux 7.04
Maven 2.0.8
-
Number of attachments :
Description
To reproduce:
1. Install Archiva as a war. In this case, I used Tomcat.
2. Start the server
3. Go to the Repositories page and click the Webdav URL of any of the default repositories.
4. This results to 'HTTP Status 404 - Not a valid request path layout, too short.'
This is caused by the 'location' (/data/repositories/snapshots and /data/repositories/internal) set in the default repositories. When I changed the location to '../data/repositories/internal', it became [TOMCAT_INSTALLATION]/data/repositories/internal when the config was saved and the repository can now be browsed via the webdav url. Maybe we should change the default to '../data/repositories/internal'. But we should also take note that MRM-789 won't happen.
This also affects 1.0.2, only the error message is different because of the migration of the webdav module. The error was 'HTTP Status 404 - [snapshots] Not Found (Likely Unconfigured).'