Skip to content
Snippets Groups Projects
Commit be650585 authored by srosse's avatar srosse
Browse files

OO-3439: handle a very special case for _sharedfolder_ in course merged directory

parent 745d7549
No related branches found
No related tags found
No related merge requests found
......@@ -604,6 +604,12 @@ public class VFSManager {
relFilePath = relFilePath.substring(stop);
return findWritableRootFolderForRecursion(rootDir, relFilePath, recursionLevel);
}
//very< special case for share folder in merged source
if(item instanceof OlatRootFolderImpl && "_sharedfolder_".equals(item.getName())) {
rootDir = (OlatRootFolderImpl)item;
relFilePath = relFilePath.substring(stop);
return findWritableRootFolderForRecursion(rootDir, relFilePath, recursionLevel);
}
}
VFSContainer rootWriteContainer = mergedDir.getRootWriteContainer();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment