chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgr...@apache.org
Subject svn commit: r1448963 - /chemistry/objectivecmis/trunk/ObjectiveCMIS/Bindings/AtomPub/CMISAtomPubObjectService.m
Date Fri, 22 Feb 2013 09:38:00 GMT
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;
 }



Mime
View raw message