Author: jleroux
Date: Fri Mar 6 21:00:20 2009
New Revision: 751072
URL: http://svn.apache.org/viewvc?rev=751072&view=rev
Log:
Fix a bug I introduced in r740474. Now creating alternate content for product
works again
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml?rev=751072&r1=751071&r2=751072&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
(original)
+++
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
Fri Mar 6 21:00:20 2009
@@ -107,7 +107,7 @@
<simple-method method-name="createSimpleTextContentForAlternateLocale"
short-description="Create Simple Text Content For Alternate Locale">
<set-service-fields service-name="createSimpleTextContent"
map="parameters" to-map="createSimpleTextMap"/>
<call-service service-name="createSimpleTextContent"
in-map-name="createSimpleTextMap">
- <result-to-field
result-name="createContentAssocMap.contentIdTo.contentId"/>
+ <result-to-field result-name="contentId"
field="createContentAssocMap.contentIdTo"/>
</call-service>
<set field="createContentAssocMap.contentId"
from-field="parameters.mainContentId"/>
<set field="createContentAssocMap.contentAssocTypeId"
value="ALTERNATE_LOCALE"/>