Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Search V 1 Issue

Search V 1 Issue

Kevin O'Driscoll
Reply

After upgrading to DW 9.7.3

This only happens when some specific search params are used like 'maintenance' or 'core' also first letter capital seems to trigger the same error:

An error occurred while attaching module (Dynamicweb.Frontend.Content)
 

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
   at Dynamicweb.WeightedSearch.Frontend.GetSummary(String text, String word)
   at Dynamicweb.WeightedSearch.Frontend.RenderSearchResults(String q, ResultItemCollection searchResults)
   at Dynamicweb.WeightedSearch.Frontend.GetContent()
   at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)

This is a standard searchv1 with the standard .html templates

 

Rgds

 


Replies

 
Nicolai Pedersen
Reply

Hi Kevin

Yes - our mistake - known as TFS#71566 that was fixed in 1.0.21 of  the Dynamicweb.WeightedSearch package and in Dynamicweb 9.7.4. See https://doc.dynamicweb.com/downloads/releases/bug-fixes/bug-fixes-for-9-7#9.7.4

Sorry about the inconvenience!

BR Nicolai

 
Kevin O'Driscoll
Reply

Thanks Nicoli, Do I need the updated Dynamicweb.WeightedSearch.dll or a full upgrade to 9.7.4?

Thanks

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Up to you. It is sufficient to upgrade only the package - and you will get only that fix. If you upgrade to 9.7.4, you will get all the fixes in the 9.7.4 list.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum