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="<@ofbizUrl>createProductPromoAction</@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> </span> <select name="customMethodId" size="1"> <#list PromoActionCustomMethods as PromoActionCustomMethod>