CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#8169] Search Module indexing partial smarty tags and failing to index words with dash

avatar
Created By: Kenneth Griffith (kendo451)
Date Submitted: Thu Jul 26 07:55:00 -0400 2012

Assigned To: Tapio Löytty (Stikki)
Version: 1.10.3
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Search Module indexing partial smarty tags and failing to index words with dash
Detailed Description:
If you use smarty tags with single quotes instead of double quotes, search
module indexes parts of the tags as words:

Example: {translate text='Push this button'}

Puts the following words in search index:
{translate
text='Push
this
button'}

Also, the Search Module fails to index words with a dash, such as product model:

Example: CN-90

Does not index at all.

******
Suspect both of these problems are due to weak regex used to filter phrases in
search.tools.php

*****

Will add more details to this bug as I try to solve it myself...


History

Comments
avatar
Date: 2013-09-07 18:39
Posted By: Robert Campbell (calguy1000)

should be fixed now.... we strip tags, and exclude anything between { and }
      
avatar
Date: 2013-09-18 03:16
Posted By: Rolf (rolf1)

CMS Made Simple 1.11.8 is released
      
Updates

Updated: 2013-09-18 03:16
state: Open => Closed

Updated: 2013-09-07 18:39
resolution_id: 6 => 7
cmsms_version_id: 29495 => -1

Updated: 2012-09-07 15:19
resolution_id: => 6
assigned_to_id: 100 => 11306