[Koha-bugs] [Bug 12721] New: Wrong fieldnames or trailing | in system preference StatisticsFields lead to crash
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 5 11:43:47 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12721
Bug ID: 12721
Summary: Wrong fieldnames or trailing | in system preference
StatisticsFields lead to crash
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: veron at veron.ch
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
To reproduce:
1)
Edit system preference StatisticFields
Set it to:
location|itype|ccode
Search a patron and display statistics
Result: OK, statistics displas
2)
Add a trailing | to StatisticFields:
location|itype|ccode|
Display statistics
Result:
Software error: Can't use an undefined value as an ARRAY reference at
/usr/lib/perl5/DBI.pm line 2054.
Display statistics
3)
Put a space between ccode and trailing |
location|itype|ccode |
Display statistics
Result: Statistic displays default table with Shelving locaton, Item type and
Collection code
4)
Remove trailing | and misspell one field:
lcation|itype|ccode
Display statistics
Result:
Software error: Can't use an undefined value as an ARRAY reference at
/usr/lib/perl5/DBI.pm line 2054.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list