#793: WebSearch: SQPP and create_replacements error
-----------------------+----------------------
 Reporter:  simko      |      Owner:  jblayloc
     Type:  defect     |     Status:  new
 Priority:  critical   |  Milestone:
Component:  WebSearch  |    Version:
 Keywords:             |
-----------------------+----------------------
 A traceback in SQPP's `create_replacements()` function:

 {{{
   File "/usr/lib64/python2.4/site-
 packages/invenio/search_engine_query_parser.py", line 962, in
 _expand_search_patterns
   File "/usr/lib64/python2.4/site-
 packages/invenio/search_engine_query_parser.py", line 951, in
 create_replacements
     result = term + words[0]
 IndexError: list index out of range
 }}}

 is obtained for URLs like
 
`/search?ln=en&ln=en&p=find+a+Sheikholeslami+and+a+Wohlert%3A&action_search=Search&sf=&so=d&rm=citation&rg=25&sc=0&of=hb`.

 Full stack frame details in RT 147577.

-- 
Ticket URL: <http://invenio-software.org/ticket/793>
Invenio <http://invenio-software.org>

Reply via email to