Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ public RecordedActionSet run()
URI uri = FileContentService.get().getWebDavUrl(destFile, container, FileContentService.PathType.full);
if (uri != null)
{
WebdavResource resource = WebdavService.get().lookup(uri.getPath());
// use lookupHref() as the WebDAV URL carries the context path
WebdavResource resource = WebdavService.get().lookupHref(uri.toString());
if (resource != null)
{
ExpData data = FileContentService.get().getDataObject(resource, container);
Expand All @@ -239,7 +240,7 @@ public RecordedActionSet run()
row.replace(INPUT_DATA_FILE, dataFileUrl.replace("file:", ""));
}
else
log.warn("Unable to locate the webdav resource at {}", uri.getPath());
log.warn("Unable to locate the webdav resource at {}", uri);
}
else
log.warn("Unable to resolve a webdav URL for {}", destFile.getName());
Expand Down
Loading