You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rashko Rejmer (JIRA)" <ji...@apache.org> on 2007/03/15 15:11:09 UTC

[jira] Updated: (OFBIZ-820) Wrong invocation of the ProductContentWrapper.getProductContentAsText method due to 516158 revision

     [ https://issues.apache.org/jira/browse/OFBIZ-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rashko Rejmer updated OFBIZ-820:
--------------------------------

    Attachment: showcartitems.patch

> 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
>         Attachments: showcartitems.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.