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 2015/09/18 08:36:38 UTC

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

Author: fmui
Date: Fri Sep 18 06:36:37 2015
New Revision: 1703748

URL: http://svn.apache.org/viewvc?rev=1703748&view=rev
Log:
CMIS-916: AtomPub: fixed applyPolicy in DotCMIS

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=1703748&r1=1703747&r2=1703748&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub.cs Fri Sep 18 06:36:37 2015
@@ -2857,7 +2857,7 @@ namespace DotCMIS.Binding.AtomPub
             UrlBuilder url = new UrlBuilder(link);
 
             // set up object and writer
-            AtomEntryWriter entryWriter = new AtomEntryWriter(CreateIdObject(objectId));
+            AtomEntryWriter entryWriter = new AtomEntryWriter(CreateIdObject(policyId));
 
             // post applyPolicy request
             PostAndConsume(url, AtomPubConstants.MediatypeEntry, new HttpUtils.Output(entryWriter.Write));