WebDAV PROPFIND returns 302 code instead of 404 when ACS is installed using the example docker-compose.yml
After deploying ACS v126.96.36.199 using the image 'alfresco/alfresco-content-repository:188.8.131.52' and then mapping a network drive to /alfresco/webdav, it is not possible to add or move content on the mapped drive. When a file is dragged into the mapped drive -> Shared folder, Windows Explorer returns an Interrupted Action prompt:
"There is already a folder with the same name as the file name you specified. Specify a different name."
Steps to Reproduce:
Note: The docker-compose.yml (as attached) is downloaded from the ACS Trial with the ACS image reference changed. The only other change made was to adjust the IP addresses to match my environment.
1/. Create a Docker environment -> https://docs.alfresco.com/6.2/tasks/deploy-docker-compose.html
2/. Deploy the example docker-compose.yml as attached (adjust the ip addresses / hosts)
3/. Map a network drive to http://host:8080/alfresco/webdav
4/. Drag a new file into the [empty] Shared folder.
The file cannot be added to the Shared folder on the mapped drive. In the Fiddler trace, we see that the PROPFIND request returns a 302 code when a 404 code is expected:
PROPFIND /alfresco/webdav/Shared/alfresco-global%20(5).properties HTTP/1.1
Date: Thu, 07 Jan 2021 12:24:20 GMT
WebDAV access to Alfresco Content Services should be working OOTB using the example docker-compose.yml with the associated ACS image.
Ubuntu 18.04.5 LTS
A customer reported that the error seems to originate from:
<!-- Enterprise index-jsp placeholder -->
// route WebDAV requests
if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equalsIgnoreCase("OPTIONS"))
response.sendRedirect(request.getContextPath() + "/webdav/");
Please note: When debugging this issue, we attempted to resolve the problem by removing nginx from the deployment (remove it from the docker-compose.yml). However, this did not change the behaviour.