You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/08/18 09:05:18 UTC

svn commit: r1159064 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml

Author: hansbak
Date: Thu Aug 18 07:05:17 2011
New Revision: 1159064

URL: http://svn.apache.org/viewvc?rev=1159064&view=rev
Log:
error reported by Deepak Dixi in the mailing list for deleteing content and related data: fixed

Modified:
    ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml?rev=1159064&r1=1159063&r2=1159064&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml Thu Aug 18 07:05:17 2011
@@ -70,9 +70,7 @@
         <remove-value value-field="content"/>
     </simple-method>
     <simple-method method-name="removeContentAndRelated" short-description="Remove a Content Record, related resource(s) and assocs.">
-        <make-value entity-name="Content" value-field="lookupKeyValue"/>
-        <set-pk-fields map="parameters" value-field="lookupKeyValue"/>
-        <entity-one entity-name="Content" map="lookupKeyValue" value-field="content"/>
+        <entity-one entity-name="Content" value-field="content"/> 
         <remove-related value-field="content" relation-name="ContentRole"/>
         <remove-related value-field="content" relation-name="ContentKeyword"/>
         <remove-related value-field="content" relation-name="FromContentAssoc"/>