You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by lg...@apache.org on 2013/02/22 10:38:00 UTC

svn commit: r1448963 - /chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m

Author: lgross
Date: Fri Feb 22 09:37:59 2013
New Revision: 1448963

URL: http://svn.apache.org/r1448963
Log:
Fixed completion block callback in CMISAtomPubObjectService

Modified:
    chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m

Modified: chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m
URL: http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m?rev=1448963&r1=1448962&r2=1448963&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m (original)
+++ chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m Fri Feb 22 09:37:59 2013
@@ -395,17 +395,16 @@
                                   completionBlock(nil, [CMISErrors cmisError:error cmisErrorCode:kCMISErrorCodeObjectNotFound]);
                               }
                           } else {
-                              
+                              [self sendAtomEntryXmlToLink:downLink
+                                         httpRequestMethod:HTTP_POST
+                                                properties:properties
+                                        contentInputStream:inputStream
+                                           contentMimeType:mimeType
+                                             bytesExpected:bytesExpected
+                                               cmisRequest:request
+                                           completionBlock:completionBlock
+                                             progressBlock:progressBlock];
                           }
-                          [self sendAtomEntryXmlToLink:downLink
-                                     httpRequestMethod:HTTP_POST
-                                            properties:properties
-                                    contentInputStream:inputStream
-                                       contentMimeType:mimeType
-                                         bytesExpected:bytesExpected
-                                           cmisRequest:request
-                                       completionBlock:completionBlock
-                                         progressBlock:progressBlock];
                       }];
     return request;
 }