[jira] [Updated] (OFBIZ-7212) Error on product detail page

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

[jira] [Updated] (OFBIZ-7212) Error on product detail page

Nicolas Malin (Jira)

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

Anurag Chandak updated OFBIZ-7212:
----------------------------------
    Attachment: OFBIZ-7212.patch

The cause of this issue is when service getProductFeatureSet is used to get the list of feature, then all the features are stored in the list from "ProductFeatureAndAppl". Feature list contains all the features including expired ones. So need to do filter by date on ProductFeatureAndAppl.

I am attaching the patch for the same.

> Error on product detail page
> ----------------------------
>
>                 Key: OFBIZ-7212
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7212
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Anurag Chandak
>            Assignee: Anurag Chandak
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-7212.patch
>
>
> Steps to regenerate:
> - Go to Catalog --> Products
> - Select any digital product from product list
> - Go to features
> - Expire product features for any of the feature type
> - Go to product detail page of respective digital product
> - Following error is shown:
> {code}
> org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#product]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE) (Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE)) (Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE) (Error rendering screen [component://ecommerce/widget/CatalogScreens.xml#productdetail]: java.lang.IllegalArgumentException: Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE (Error running script at location [component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy]: org.ofbiz.service.ExecutionServiceException: Cannot build feature tree: orderFeatureList is null for orderKey=STYLE)))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)