Author: hansbak
Date: Mon Mar 1 08:18:57 2010
New Revision: 917414
URL:
http://svn.apache.org/viewvc?rev=917414&view=revLog:
ebaystore: fixed error in combine orders function: it was setting parameters wrong and could not find return request parameters.
Modified:
ofbiz/trunk/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayStoreEvents.xml
Modified: ofbiz/trunk/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayStoreEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayStoreEvents.xml?rev=917414&r1=917413&r2=917414&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayStoreEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayStoreEvents.xml Mon Mar 1 08:18:57 2010
@@ -140,11 +140,8 @@
</if-not-empty>
</if-not-empty>
<set field="parameters.enabled" default-value="N" type="String" from-field="parameters.isRunCombineOrdersJob"/>
- <set field="parameters.condition1" type="Integer" default-value="5" from-field="parameters.afterDays"/>
- <set field="parameters.condition2" default-value="N" type="String" from-field="parameters.isSendCopyEmailToSeller"/>
- <if-compare field="parameters.enabled" value="N" type="String" operator="equals">
- <set field="parameters.condition2" value="N" type="String" />
- </if-compare>
+ <set field="parameters.condition1" type="String" from-field="parameters.condition1"/>
+ <set field="parameters.condition2" type="String" from-field="parameters.condition2"/>
<set field="parameters.serviceName" default-value="runCombineOrders" type="String"/>
<session-to-field field="context.userLogin" session-name="userLogin"/>
<!-- create new automatically store preferences -->
@@ -156,5 +153,6 @@
<call-service service-name="updateEbayProductStorePref" in-map-name="ebayProductStorePref"></call-service>
</else>
</if-empty>
+ <field-to-request field="parameters.productStoreId" request-name="productStoreId"/>
</simple-method>
</simple-methods>
\ No newline at end of file