"Applied fix from plugins for revision: 1867717"

------------------------------------------------------------------------
r1867717 | jleroux | 2019-09-29 11:43:42 +0200 (dim. 29 sept. 2019) | 11 lignes

Fixed: Freemarker error on reviewProduct page on storefront
(OFBIZ-11108)

Steps to regenerate:
1)Navigate to https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
2) User should not be logged in
3) Click on any product
4) Click on Be The First To Review This Product! link
5) FTL error for the null check is occurring

Thanks: Minal Phalak for the patch and Suraj for review
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release17.12@1867721 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2019-09-29 11:00:38 +00:00
parent 873057025a
commit f1e5dd85fd
+2 -2
View File
@@ -20,10 +20,10 @@ under the License.
<#if requestParameters.product_id??>
<form id="reviewProduct" method="post" action="<@ofbizUrl>createProductReview</@ofbizUrl>">
<fieldset class="inline">
<input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />
<input type="hidden" name="productStoreId" value="${(productStore.productStoreId)!}" />
<input type="hidden" name="productId" value="${requestParameters.product_id}" />
<input type="hidden" name="product_id" value="${requestParameters.product_id}" />
<input type="hidden" name="category_id" value="${requestParameters.category_id}" />
<input type="hidden" name="category_id" value="${(requestParameters.category_id)!}" />
<div>
<span><label for="one">${uiLabelMap.EcommerceRating}:</label></span>
<span>