Anyone experienced exception using below function?
tdse.GetObject(tmpFolderWebDavURL, EnumOpenMode.OpenModeView, null,
XMLReadFilter.XMLReadAll) as Folder;
Seems if the last segment of webdav contains a dot then the method throws and exception.
for example
tmpFolderWebDavURL = "/webdav/test_publication/2.2 folder name"
- fails exception thrown
tmpFolderWebDavURL = "/webdav/test_publication/22 folder name"
- works
tmpFolderWebDavURL = "/webdav/test_publication/2.2 folder name/sub_folder"
- works
Exception
<?xml version="1.0"?>
<tcm:Error xmlns:tcm="http://www.tridion.com/ContentManager/5.0" ErrorCode="80040200" Category="4" Source="Kernel" Severity="2">
<tcm:Line ErrorCode="80040200" Cause="false" MessageID="15301">
<![CDATA[Unable to get TOM object for URI: /webdav/TPMG Medical Library Content/Building Blocks/Content Live/2.2 People Lists]]>
<tcm:Token>/webdav/TPMG Medical Library Content/Building Blocks/Content Live/2.2 People Lists</tcm:Token>
</tcm:Line>
<tcm:Line ErrorCode="80040200" Cause="true" MessageID="15748">
<![CDATA[Unable to map all paths to URIs.]]>
</tcm:Line>
<tcm:Details>
<tcm:CallStack>
<tcm:Location>SystemDAL.GetURIsFromPaths</tcm:Location>
<tcm:Location>SystemDAL.GetURIsFromPaths</tcm:Location>
<tcm:Location>URLConversion.ConvertURLToURI</tcm:Location>
<tcm:Location>SystemBLST.IBLSystemST_ConvertURLToURI</tcm:Location>
<tcm:Location>TDSE.GetObject</tcm:Location>
</tcm:CallStack>
</tcm:Details>
</tcm:Error>