You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/04/07 12:58:32 UTC

svn commit: r1089820 - /chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs

Author: fmui
Date: Thu Apr  7 10:58:32 2011
New Revision: 1089820

URL: http://svn.apache.org/viewvc?rev=1089820&view=rev
Log:
CMIS-354: fixed AtomPub deleteFolder()

Modified:
    chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs

Modified: chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs?rev=1089820&r1=1089819&r2=1089820&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs Thu Apr  7 10:58:32 2011
@@ -1895,6 +1895,11 @@ namespace DotCMIS.Binding.AtomPub
 
             if (link == null)
             {
+                link = LoadLink(repositoryId, folderId, AtomPubConstants.RelFolderTree, AtomPubConstants.MediatypeDescendants);
+            }
+
+            if (link == null)
+            {
                 ThrowLinkException(repositoryId, folderId, AtomPubConstants.RelDown, AtomPubConstants.MediatypeDescendants);
             }