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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/24 17:58:25 UTC

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

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


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

        

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

Posted by Info Olagos <in...@gmail.com>.
Hello ,

The search tool in a ecommerce website is the most important commercial tool.
The search tool in the ecommerce website is a very strong tool in ofbiz.
However i think also there need some details to be improved, in order
to make it a complete professional tool.

regards,
Heidi
www.olagos.eu



2012/3/24 Jeremy Olmstead (Created) (JIRA) <ji...@apache.org>:
> 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
>
>
> 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
>
>



-- 
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Heesterbos 5
2570 Duffel
Belgium

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

Posted by Info Olagos <in...@gmail.com>.
Hello,

I am following your conversation, but didn't test it until now myself.

Heidi

2012/4/9 Jeremy Olmstead (Commented) (JIRA) <ji...@apache.org>

>
>    [
> https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250184#comment-13250184]
>
> Jeremy Olmstead commented on OFBIZ-4755:
> ----------------------------------------
>
> Okay, that is perfectly logical.  I tried it exactly as you suggested, but
> still can't get it to work.  It's odd because as soon as I set
> parameters.SEARCH_CATALOG_ID from within KeywordSearch.groovy, I print out
> a debug message that shows it has been set correctly.  Immediately
> following this is the call to processSearchParameters, but a debug message
> in this Java method shows that SEARCH_CATALOG_ID is not a part of
> parameters!  Any idea what I could be missing here?
>
> Thanks,
> Jeremy
>
> > 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: 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 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
>
>
>


-- 
Olagos bvba
http://www.olagos.eu <http://www.olagos.eu/>
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Heesterbos 5
2570 Duffel
Belgium

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

Posted by "Scott Gray (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245927#comment-13245927 ] 

Scott Gray commented on OFBIZ-4755:
-----------------------------------

(Keeping in mind I haven't looked at the code)

We seem to know which catalog to search when rendering the form.  Why do we need to pass it through the form in order to figure it out after submission?

At the very least the post-submission logic should verify that the catalog is attached to the current product store.
                
> 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: 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 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

        

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

Posted by "Jeremy Olmstead (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Olmstead updated OFBIZ-4755:
-----------------------------------

    Attachment: ecommerceSearch1.patch
    
> 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: ecommerceSearch1.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

        

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

Posted by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245960#comment-13245960 ] 

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

The search is its own little form within the page and catalog id was not part of the form.  Adding the SEARCH_CATALOG_ID field makes it part of the form so that when the search is submitted the catalog is known.  Before applying this patch the catalog was not known when the search form was submitted.  As an example, try this: go to the demo front end store http://demo-trunk.ofbiz.apache.org/ecommerce/control/main.  Change the catalog from default to test (default in this case works as expected, but test does not).  Now search for Cap (this is a product which is in the Rental Catalog and should not be available on the main site).  You get a hit because the keywordsearchbox.ftl had no idea what catalog to search and therefore searched all catalogs regardless.  From here if you click the link to the detail page you get a NullPointerException.
                
> 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: 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 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

        

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

Posted by "Jeremy Olmstead (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Olmstead updated OFBIZ-4755:
-----------------------------------

    Attachment: ecommerceSearch.patch
    
> 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

        

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

Posted by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245917#comment-13245917 ] 

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

I separated the patches into two.  I agree with what you are saying, but still think that the hidden SEARCH_CATALOG_ID should be a part of the solution.  How else is the site going to know which catalog to search?  We need something more, of course, to address what happens when either no catalog is specified or when a catalog is specified that either doesn't exist or is, as in my case, private.
                
> 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: ecommerceSearch1.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

        

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

Posted by "Scott Gray (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245994#comment-13245994 ] 

Scott Gray commented on OFBIZ-4755:
-----------------------------------

Your patch includes the catalog using currentCatalogId which is sourced from a call to "CatalogWorker.getCurrentCatalogId(request);"
There is no reason whatsoever why that same method can't be used to source the catalog id AFTER the form is submitted.

In KeywordSearch.groovy just change:
{code}
ProductSearchSession.processSearchParameters(parameters, request);
prodCatalogId = CatalogWorker.getCurrentCatalogId(request);
result = ProductSearchSession.getProductSearchResult(request, delegator, prodCatalogId);
{code}
to
{code}
prodCatalogId = CatalogWorker.getCurrentCatalogId(request);
parameters.SEARCH_CATALOG_ID = prodCatalogId
ProductSearchSession.processSearchParameters(parameters, request);
result = ProductSearchSession.getProductSearchResult(request, delegator, prodCatalogId);
{code}

Voila, no need to pass it through the form and no risk of exposing products from private catalogs.
                
> 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: 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 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

        

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

Posted by "Jeremy Olmstead (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Olmstead updated OFBIZ-4755:
-----------------------------------

    Attachment:     (was: ecommerceSearch.patch)
    
> 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: ecommerceSearch1.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

        

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

Posted by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245621#comment-13245621 ] 

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

Heidi, could you try the attached patch to see if it resolves your issue?  Also, be sure you have a search category linked to your catalog with all products you want searchable in there.  I setup a search category linked to my "internal" catalog with nothing in it and, with the patch, everything seems to work the way I was expecting.
                
> 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

        

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

Posted by "Jeremy Olmstead (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250184#comment-13250184 ] 

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

Okay, that is perfectly logical.  I tried it exactly as you suggested, but still can't get it to work.  It's odd because as soon as I set parameters.SEARCH_CATALOG_ID from within KeywordSearch.groovy, I print out a debug message that shows it has been set correctly.  Immediately following this is the call to processSearchParameters, but a debug message in this Java method shows that SEARCH_CATALOG_ID is not a part of parameters!  Any idea what I could be missing here?

Thanks,
Jeremy
                
> 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: 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 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

        

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

Posted by "Heidi Dehaes (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239334#comment-13239334 ] 

Heidi Dehaes commented on OFBIZ-4755:
-------------------------------------

Also when searching a product which is the ONLY member of a separate search category (category of type search category) , only that product may show up. Which is not the case. All products are showing up.
The use of a search category should work also for normal search as for advanced search.
                
> 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
>
> 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

        

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

Posted by "Jeremy Olmstead (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Olmstead updated OFBIZ-4755:
-----------------------------------

    Attachment: ecommerceSearch2.patch
    
> 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: 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 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

        

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

Posted by "Scott Gray (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245890#comment-13245890 ] 

Scott Gray commented on OFBIZ-4755:
-----------------------------------

Hidden inputs aren't the way to solve this, it would be trivial for a user to change the value and expose products that shouldn't be searched.

Also, it's better to fix one problem per patch.
                
> 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