individual synonyms apparently broken

Bug #819517 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Fix Released
Medium
Ferhat Elmas

Bug Description

http://mvh.omacneil.testing123.net/cgi-bin/mvhub/admin/structure.pl?mode=edit_synonyms
has:
 ADD ADHD HADD
alcohol drinking drunk
assist help
cessation quit
child children kid youth
class lesson
computer technology internet
counseling
utility fuel

so you would think a search on 'drunk' would get you the same results as 'alcohol' , it doesn't

My best quick guess is that

lib-mvhub/lib/MVHub/GuideSearch.pm::expand_synonyms is broken , probably when SYNONYM_STEM_X_WORD_STEM moved into SQL::Library

see:

    :bzr log -r 373 -p lib-mvhub/lib/MVHub/GuideSearch.pm | less

my guess is that placeholders can't take multiple words separated by commas

Adding a unit test with $wordlist would be swell as well

Related branches

Dan MacNeil (omacneil)
Changed in mvhub:
assignee: nobody → Ferhat Elmas (felmas)
importance: Undecided → Medium
status: New → Confirmed
Ferhat Elmas (felmas)
description: updated
Changed in mvhub:
status: Confirmed → In Progress
Ferhat Elmas (felmas)
Changed in mvhub:
status: In Progress → Fix Committed
Ferhat Elmas (felmas)
Changed in mvhub:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.