You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org> on 2012/04/03 21:04:26 UTC

[jira] [Commented] (OFBIZ-4755) E-commerce search does not always functioning correctly

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

Jeremy Olmstead commented on OFBIZ-4755:
----------------------------------------

I have found two things that I believe are a problem with the search and the patch I uploaded seems to resolve the issues I was having.  The first problem is that the eCommerce site does not filter by catalog.  You could search any catalog and potentially get product to show up in your search from the main catalog whether you wanted them to or not.  Adding a hidden SEARCH_CATALOG_ID to the keywordsearchbox.ftl file fixed this.  The other problem was when you clicked a link to a product detail page and did not have a specific category specified, it would end up defaulting to the products "primary category" even if that primary category was in a catalog you didn't want visible on the web.  By eliminating the primary category selection in productdetail.groovy, it seemed to then default to the desired category in my cases.
                
> E-commerce search does not always functioning correctly
> -------------------------------------------------------
>
>                 Key: OFBIZ-4755
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4755
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>            Reporter: Jeremy Olmstead
>            Priority: Minor
>         Attachments: ecommerceSearch.patch
>
>
> There seems to be a number of problems with the way e-commerce search works.  I'll just a name a few examples of things I have tried that don't seem to work the way I think they should.  I can delete a catalog from a store and the catalog still shows up and is completely searchable.  I can delete a part from a catalog, then search the catalog and it still shows up, if you click the part from the search results you get a NullPointerException error.  To take things a step further, after deleting the main catalog from the web store, I changed it to View Allow instead of Browse Root, then I even changed every category within the catalog to internal and search still finds parts from that catalog.  Then I created a new catalog and category and put a product within.  From here I can drill down to the part from the newly created catalog, but when I click on the part for details, it still directs me to the other catalog!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira