http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14679

            Bug ID: 14679
           Summary: die with bad template path on item search because
                    template file name has a period which is not a safe
                    character
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Searching
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Summary:

When performing an item search in the intranet interface, KOHA dies with "bad
template path at /usr/share/koha/lib/C4/Auth.pm line 161". This is because
get_template_and_user is called with a template_name of
"catalogue/itemsearch.csv.tt", and $safe_chars does not have the ASCII period
character.

Steps to reproduce:

1. Login to intranet interface
2. Click on Search on top bar
3. Click on Goto Item Search
4. Perform any item search to CSV

Expected results:

Search works and returns search results.

Actual results:

KOHA dies with the message in the summary.

Suggested fix:

Expand the $safe_chars regex on lib/C4/Auth.pm line 160 to include ASCII period
('.') as a valid character.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to