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

Rohit Koushal reassigned OFBIZ-8319:
------------------------------------

    Assignee: Rohit Koushal

> viewing product sample page causes exception
> --------------------------------------------
>
>                 Key: OFBIZ-8319
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8319
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Rohit Koushal
>
> -set general.properties/multitenant=Y
> -go to 
> https://localhost:8443/catalog/control/EditProductFeatures?productId=WG-9943
> -click on 'product page' link
> -error page shows...
> java.lang.NullPointerException
>       org.apache.ofbiz.entity.util.EntityQuery.query(EntityQuery.java:455)
>       org.apache.ofbiz.entity.util.EntityQuery.queryList(EntityQuery.java:380)
> org.apache.ofbiz.product.category.CategoryWorker.getRelatedCategoriesRet(CategoryWorker.java:150)
>      
> org.apache.ofbiz.product.category.CategoryWorker.getRelatedCategoriesRet(CategoryWorker.java:139)
> org.apache.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:229)
>         
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
> It seems that when ofbiz is set to multitenant mode and the tenant associated 
> with tenantId=null does this issue occur.  I don't know if it should be a 
> configuration issue or a bug.  This did not occur prior to the implementation 
> of the ControlFilter and ContextFilter of r1761304.
> How should the tenant associated with tenantId=null be used?  Is it consider 
> special or it is used just like any other tenant?



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

Reply via email to