commit | 8b9c30a3f4f91441fe4ac0eb8c178736cbebf098 | [log] [tgz] |
---|---|---|
author | Florian Müller <fmui@apache.org> | Thu Apr 07 10:58:32 2011 +0000 |
committer | Florian Müller <fmui@apache.org> | Thu Apr 07 10:58:32 2011 +0000 |
tree | f40469a2d3098365dc608b51d7467a31a7cb67e6 | |
parent | 0453588ac9cddcdc73c5074650c9e67733433433 [diff] |
CMIS-354: fixed AtomPub deleteFolder() git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1089820 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/DotCMIS/binding/atompub/atompub.cs b/DotCMIS/binding/atompub/atompub.cs index f3313a1..bcf0a30 100644 --- a/DotCMIS/binding/atompub/atompub.cs +++ b/DotCMIS/binding/atompub/atompub.cs
@@ -1895,6 +1895,11 @@ if (link == null) { + link = LoadLink(repositoryId, folderId, AtomPubConstants.RelFolderTree, AtomPubConstants.MediatypeDescendants); + } + + if (link == null) + { ThrowLinkException(repositoryId, folderId, AtomPubConstants.RelDown, AtomPubConstants.MediatypeDescendants); }