[Koha-bugs] [Bug 8168] New: ersatz CSV header in attachment of overdue notices sent to administrator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 30 19:35:56 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8168
          Assignee: henridamien at koha-fr.org
           Summary: ersatz CSV header in attachment of overdue notices
                    sent to administrator
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: gmcharlt at gmail.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Notices
           Product: Koha

overdue_notices.pl sends an email to the Koha admin with any notices that
should be printed as an attachment.  However, if the attachment contains
printable notices, rather than CSV, the first line of the attachment still
includes a CSV header:

title;name;surname;address1;address2;zipcode;city;email;itemcount;itemsinfo;due_date;issue_date

There are two problems with this:

[1] This header shouldn't be included unless CSV output was specifically
requested (by use of the -csv) switch.
[2] The header does not respect the delimiter and tabulation system preferences
-- it always uses a semicolon.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list