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

Joe Eckard commented on OFBIZ-3077:
-----------------------------------

This error occurs because the product detail & product summary screens assume 
that a product store will always be present. Fixing this is not as easy as 
fixing the NPE, because you will need to make some larger changes to the logic 
and display... e.g. if no store is present, should you hide reviews or show all 
reviews - what about ratings / surveys, estimated ship date vs vendor lead 
time, etc.

I started working on this but realized it will take more time than I have 
available right now - adding the note in case someone else is about to take a 
look.

> Error for productStoreId when click on productId link from showcart of 
> purchase order
> -------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3077
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3077
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Brajesh Patel
>             Fix For: SVN trunk
>
>
> Steps regenerate error:
> 1) Hit url: https://localhost:8443/ordermgr/control/orderentry
> 2) Select purchase order with supplier 
> 3) Add product for order
> 4) Click on the productId from showcart page
> it will generate error as following 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://order/widget/ordermgr/OrderEntryCatalogScreens.xml#productdetail]:
>  java.lang.NullPointerException: Cannot get property 'productStoreId' on null 
> object (Cannot get property 'productStoreId' on null object)
> Thanks Rishi, Mridul and Ratnesh for discussion.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to