Skip to Content
author's profile photo Former Member
Former Member

Problems OOTB with approval status

I start to observe in one of the implementations I made that if there is a change in the approvalStatus to unnaprove in the online catalog one product that is indexed in solr documents I started to receive error 404 in the product list page if this product arrives in a pagination that I am in. Also if we search this product a java error occurs telling that this product was not found.

So I started to test the OOTB functionality starting a total core OOTB telco store and the behavior is the same. Because of this reason I would like to understand which should be the correct process to change approval status in a live environment in order to don't suffer of solr impact when the product that you are changing is already indexed in a solr document.

Also if there is no proccess is there any hook that can be done?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 15, 2015 at 09:37 AM

    When you unapprove the product, is the solr index updated to remove it from the index? Is your Solr configuration indexing both approved and non approved products?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The solr index is not indexing non approved products but what I am trying to say is that as soon as mark a product to non approved and synchronize it to online catalog SOLR is still reflecting this product as approved and it breaks the website.

      My question is "is there any hook that can be done"? or should we establish one process to update solr as soon as we synchronize one single product ? I believe that even if we set it to index as soon as synchronization finishes we still have some seconds/minutes that the site can break because of solr corrupted data.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2015 at 02:32 PM

    The solr index is not indexing non approved products but what I am trying to say is that as soon as mark a product to non approved and synchronize it to online catalog SOLR is still reflecting this product as approved and it breaks the website.

    My question is "is there any hook that can be done"? or should we establish one process to update solr as soon as we synchronize one single product ? I believe that even if we set it to index as soon as synchronization finishes we still have some seconds/minutes that the site can break because of solr corrupted data.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2015 at 02:32 PM

    anyone else to help me ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.