You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2019/08/24 08:06:43 UTC

svn commit: r1865820 - /ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl

Author: pawan
Date: Sat Aug 24 08:06:42 2019
New Revision: 1865820

URL: http://svn.apache.org/viewvc?rev=1865820&view=rev
Log:
Fixed: Issue in creating promotion action
(OFBIZ-11058)
Reason for this issue is a duplicate parameter with name customMethodId, We have dropdown and hidden field for the same parameter, this converts customMethodId value to a list.
Thanks: Lalit Dashora for reporting the issue.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl

Modified: ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl?rev=1865820&r1=1865819&r2=1865820&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/template/promo/EditProductPromoRules.ftl Sat Aug 24 08:06:42 2019
@@ -435,7 +435,6 @@ under the License.
                   <form method="post" action="<@o...@ofbizUrl>" name="createProductPromoAction">
                     <input type="hidden" name="productPromoId" value="${(productPromoRule.productPromoId)!}" />
                     <input type="hidden" name="productPromoRuleId" value="${(productPromoRule.productPromoRuleId)!}" />
-                    <input type="hidden" name="customMethodId" value="${(productPromoAction.customMethodId)!}" />
                     <span class="label"><b>${uiLabelMap.CommonNew}:</b>&nbsp;</span>
                     <select name="customMethodId" size="1">
     <#list PromoActionCustomMethods as PromoActionCustomMethod>