First of all, Thanks Team Konakart for such a nice system.
I am facing one issue in sorting and pagination when Solr is enabled . I just tried to run app with Solr Search Engine.For that, I enabled Solr Search Engine from the admin and added product in solr search engine. When I try to sort the product with Solr enabled config, getting the below exception.
java.lang.NullPointerException
at com.konakart.al.CategoryMgr.getCatMenuList(Unknown Source)
at com.konakart.al.CategoryMgr.getCatMenuList(Unknown Source)
at com.konakart.al.ProductMgr.manageCurrentCategories(Unknown Source)
at com.konakart.al.ProductMgr.fetchProducts(Unknown Source)
at com.konakart.al.ProductMgr.orderCurrentProds(Unknown Source)
at com.konakart.actions.SortProductAction.execute(SortProductAction.java
:73)
It works ok when Solr is disabled.
is there anything wrong in data?
Our online demo http://www.konakart.com/konakart/Welcome.action (http://www.konakart.com/konakart/Welcome.action) uses Solr. Can you reproduce your problem there ?
Thanks for your response.
Currently I am running customize system on my local env. I have just enabled Solr to see. Its creating product object in solr also. Trying to find why I am getting above exception on console when I do pagination click . It seems like that exception stops pagination. Do I need to make any other change for Solr?
All you need to do is to enable Solr in the configuration section of the Admin App and then load up the products in the tools section.
Thanks,
I tried with fresh db and few sample data. figured out something. Pagination/Sorting throws above exception when product assigned to multiple category and one of the category is invisible.
any help?
I tried adding a product to two categories and made one invisible but couldn't reproduce the problem.
can you share db script