svn commit: r1855089 - in /ofbiz/ofbiz-plugins/branches/release18.12: ./ ecommerce/template/cart/ShowCart.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1855089 - in /ofbiz/ofbiz-plugins/branches/release18.12: ./ ecommerce/template/cart/ShowCart.ftl

surajk
Author: surajk
Date: Sat Mar  9 06:39:33 2019
New Revision: 1855089

URL: http://svn.apache.org/viewvc?rev=1855089&view=rev
Log:
Applied fix from trunk for revision: 1855082
===

Fixed: Product image is not displayed on showcart page of ecommerce.
(OFBIZ-10738)
Thanks Arpit Mor for reporting the issue and Praveen Sharma for providing the patch.
It was occuring due to incorrect encoder type used and so URL was not creating properly to render the image.

Modified:
    ofbiz/ofbiz-plugins/branches/release18.12/   (props changed)
    ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/cart/ShowCart.ftl

Propchange: ofbiz/ofbiz-plugins/branches/release18.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Mar  9 06:39:33 2019
@@ -10,4 +10,4 @@
 /ofbiz/branches/json-integration-refactoring/plugins:1634077-1635900
 /ofbiz/branches/multitenant20100310/plugins:921280-927264
 /ofbiz/branches/release13.07/plugins:1547657
-/ofbiz/ofbiz-plugins/trunk:1851002,1851009,1851068,1851135,1851139-1851140,1851185,1851316,1851885,1852988,1853904,1854684
+/ofbiz/ofbiz-plugins/trunk:1851002,1851009,1851068,1851135,1851139-1851140,1851185,1851316,1851885,1852988,1853904,1854684,1855082

Modified: ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/cart/ShowCart.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/cart/ShowCart.ftl?rev=1855089&r1=1855088&r2=1855089&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/cart/ShowCart.ftl (original)
+++ ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/cart/ShowCart.ftl Sat Mar  9 06:39:33 2019
@@ -255,7 +255,7 @@ under the License.
                       </#if>
                       <#assign smallImageUrl =
                           Static["org.apache.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(
-                          cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher, "url")! />
+                          cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher, "html")! />
                       <#if !smallImageUrl?string?has_content>
                         <#assign smallImageUrl = "/images/defaultImage.jpg" />
                       </#if>