chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1089820 - /chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs
Date Thu, 07 Apr 2011 10:58:32 GMT
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);
             }
 



Mime
View raw message