[
https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rashko Rejmer updated OFBIZ-820:
--------------------------------
Attachment: showcartitems2.patch
the files are from ecommerce app:
- applications/ecommerce/webapp/ecommerce/cart/showcart.ftl
- applications/ecommerce/webapp/ecommerce/order/splitship.ftl
> Wrong invocation of the ProductContentWrapper.getProductContentAsText method
> due to 516158 revision
> ---------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-820
> URL: https://issues.apache.org/jira/browse/OFBIZ-820
> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: content, order
> Reporter: Rashko Rejmer
> Assigned To: Si Chen
> Attachments: showcartitems.patch, showcartitems2.patch
>
>
> Due to revision 516158 - "refactored renderContentAsText to invoke content
> services when called", there is wrong invocation of the
> ProductContentWrapper.getProductContentAsText(GenericValue, String, Locale,
> LocalDispatcher) method in the
> applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl file
> If we want to add a product to the cart while creating order we got an error:
> No signature of method getProductContentAsText matches
> (org.ofbiz.entity.GenericValue,java.lang.String,java.util.Locale) The
> problematic instruction: ---------- ==> assignment:
> alternativeOptionName=Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct,
> "PRODUCT_NAME", locale)?if_exists [on line 204, column 21 in
> showcartitems.ftl]......
> The patch fixes that problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.