Developer forum

Forum » Ecommerce - Standard features » The Product Catalog Working not properly when override the default parameters

The Product Catalog Working not properly when override the default parameters

Arker Soe
Arker Soe
Reply

Hi

I am using version 8.8.1.12. and having problem filtering the products with default parameter override feature of product catalog module. Can anyone help me out? it work fine if I don't have array parameters in query. but I need them.

 


Replies

 
Nicolai Pedersen
Reply

You can add some dumps of your setup so we can check it out. Or you are also welcome to create a case in the service desk if you want one of them to take a look at it.

 
Arker Soe
Arker Soe
Reply

Here are the screens of my repositories setup and product catalog module setup.

parameters.PNG productcatalogSetup.PNG
 
Arker Soe
Arker Soe
Reply

and the log said

[11/23/2016 10:33:24 AM]:
GetProductsFromIndexQuery

Logging 'Exception':
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
StackTrace:    at System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices)
   at System.Array.GetValue(Int32 index)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpression(IIndex index, Expression expression, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.Indexing.Queries.IndexQueryProvider.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.Querying.QueryService.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.eCommerce.Frontend.Frontend.GetProductsFromIndexQuery()
InnerException: [null]
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
Object output: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Array.InternalGetReference(Void* elemRef, Int32 rank, Int32* pIndices)
   at System.Array.GetValue(Int32 index)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpressionInternal(IIndex index, Expression expression, Analyzer analyzer, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.Helpers.ParseQueryExpression(IIndex index, Expression expression, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.SearchInternal(IQuery query, QuerySettings settings)
   at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.Indexing.Queries.IndexQueryProvider.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.Querying.QueryService.Query(IQuery query, QuerySettings settings)
   at Dynamicweb.eCommerce.Frontend.Frontend.GetProductsFromIndexQuery()
------------------------------------------------------------


Logging 'URL':
http://js-dev.dynamicwebmm.com/Default.aspx?ID=8844&groupid=furniture
------------------------------------------------------------
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Just tested a similar setup - and can get it to work, see dumps.

You should upgrade to latest 8.8.1.* - a lot of things have been updated in the indexing engine since your build.

If an upgrade does not solve the issue, can I try test it on your solution?

Capture.PNG Capture1.PNG
Votes for this answer: 1
 
Arker Soe
Arker Soe
Reply

I tried a couple application version and 8.8.1.30 work. Thanks

 

You must be logged in to post in the forum