[Koha-bugs] [Bug 12716] Import patrons form should have drop-downs for some values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 2 12:39:52 CEST 2014


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

--- Comment #13 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Katrin Fischer from comment #12)
> Jacek, could you add an example line with the syntax you used in the import
> file too?

While I encountered this when trying to import patrons with somewhat more
complex entries in 'patron_attibutes' CSV field, eg.:

"""DPCODE:PK-B"",""HISCHANNR:B/000123; E/000123;
^/000123"",""KNTPAP:BPK"",""KNTPAP:BWM"",""PESEL:1234567890"",""SHOW_BCODE:1"""

extended atributes import seems to be broken as well for more trivial cases - I
did some tests in clean master with simpler 'patron_attributes'; same outcome.

Also, on the practical side, re-adding aforementioned 'if' solved the problem,
at least for me ;).

This script (tools/import_patrons.pl) is not exactly the easiest one to analyze
comprehensivelly, but it seems that 'patron_attributes' was artifically added
to @columnkeys as pseudo-colum name (= a kludge, as there is no such column in
borrowers table); when that pseudo column is no longer in @columnkeys,
apparently extended attributes are not being picked up at all from the relevant
CSV field (?).

Follow up & proposed patch: in Bug 12859.

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


More information about the Koha-bugs mailing list