[jira] [Commented] (OFBIZ-4433) product.groovy improved

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4433-product-groovy-improved-tp3823345p3841083.html


    [ https://issues.apache.org/jira/browse/OFBIZ-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114203#comment-13114203 ]

Jacques Le Roux commented on OFBIZ-4433:
----------------------------------------

Christian,

Please don't use tabs in your patches.

I think we should test if there is a value in contentWrapper.get("PRODUCT_NAME") before, like in

            if (contentWrapper.get("PRODUCT_NAME")) keywords.add(contentWrapper.get("PRODUCT_NAME"));
            else keywords.add(product.productName);


> product.groovy improved
> -----------------------
>
>                 Key: OFBIZ-4433
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4433
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Christian Fischer
>         Attachments: Product.groovy.patch
>
>
> Productname now comes from the content instead of the entity,

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira