svn commit: r766316 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r766316 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml

ashish-18
Author: ashish
Date: Sat Apr 18 12:51:36 2009
New Revision: 766316

URL: http://svn.apache.org/viewvc?rev=766316&view=rev
Log:
Applied patch from Jira Issue No.OFBIZ-2300 (party content - error).
In past days createPartyContent service definition is restructured.

So now we should call "uploadPartyContentFile" service that invokes "createPartyContent". (If we are uploading some file)  

Thanks to "Aswath Satrasala" for the contribution.

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml?rev=766316&r1=766315&r2=766316&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml Sat Apr 18 12:51:36 2009
@@ -93,7 +93,7 @@
         <set field="partyContentMap._uploadedFile_fileName" from-field="formInput.imageFileName"/>
         <set field="partyContentMap.uploadedFile" from-field="byteWrap"/>
         <set field="partyContentMap._uploadedFile_contentType" from-field="formInput.formInput.mimeTypeId"/>
-        <call-service service-name="createPartyContent" in-map-name="partyContentMap" break-on-error="false">
+        <call-service service-name="uploadPartyContentFile" in-map-name="partyContentMap" break-on-error="false">
             <result-to-field result-name="contentId" field="contentId"/>
         </call-service>
         <!-- set the partyId in the request -->