You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/07/24 15:01:00 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=18098930#comment-18098930 ] 

ASF subversion and git services commented on OFBIZ-4755:
--------------------------------------------------------

Commit 459f7f04057fa908327a92ea2d686cf93f5b2062 in ofbiz-framework's branch refs/heads/release24.09 from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=459f7f0405 ]

Fixed: E-commerce search and product detail no longer leak products across catalogs (OFBIZ-4755) (#1500)

Fixed: E-commerce search and product detail no longer leak products
across catalogs
(OFBIZ-4755)

KeywordSearch.groovy now sets SEARCH_CATALOG_ID from the current catalog
before processSearchParameters runs, so a catalog with no PCCT_VIEW_ALLW
category configured no longer defaults to searching every catalog in the
system.

Product.groovy applies the same idea to product-detail viewing: when no
View-Allow category is configured, a product is only shown if it belongs
to some catalog of the current product store, preventing direct links to
products that exist solely in an unrelated store's catalog while leaving
legitimate cross-catalog sharing within a store untouched.

Thanks: Jeremy Olmstead for reporting the issue.

> 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: ecommerce
>            Reporter: Jeremy Olmstead
>            Assignee: Mridul Pathak
>            Priority: Minor
>         Attachments: ecommerceSearch1.patch, ecommerceSearch2.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 was sent by Atlassian Jira
(v8.20.10#820010)