[Bug 4270] New: Instructions for loading patron attributes are wrong
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 Summary: Instructions for loading patron attributes are wrong Product: Koha Version: HEAD Platform: PC OS/Version: Windows 2000 Status: ASSIGNED Severity: major Priority: P5 Component: Tools AssignedTo: jwagner@ptfs.com ReportedBy: jwagner@ptfs.com Estimated Hours: 0.0 Change sponsored?: --- In Tools, Import Patrons, the instructions for setting up the .csv file with values for patron attributes say: If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a ':' should precede each value. For example: "INSTID:12345,LANG:fr". This means that if an input record has more than one attribute, the 'patron_attributes' field must be wrapped in double quotation marks. However, something seems to have changed in the code somewhere along the line. The above worked in earlier versions, but as of roughly summer 2009 wrapping the field in double quotes does not work if there are more than one patron attribute fields defined. All values get loaded into the first attribute field. After much experimentation and help from others, I found that the import would work either if the whole .csv field was NOT wrapped in quotes, or if each patron attribute being loaded had its own quote marks. For example: STARTDATE:January 1 2010,TRACK:Day or "STARTDATE:January 1, 2010","TRACK:Day" The second syntax is preferable if your data would ordinarily have a comma in it, like a date field (above). See the discussions between jwagner, schuster, and kf on the IRC on 2010-01-29 and 2010-02-01. I am revising the screen instructions accordingly. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 --- Comment #1 from Jane Wagner <jwagner@ptfs.com> 2010-02-25 17:16:23 --- Created an attachment (id=1691) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1691) patch against current head Patch sent February 25, 2010. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nengard@gmail.com --- Comment #2 from Nicole C. Engard <nengard@gmail.com> 2010-02-25 18:40:57 --- Thanks for catching that - I have updated the manual to show this. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmcharlt@gmail.com --- Comment #3 from Galen Charlton <gmcharlt@gmail.com> 2010-04-07 16:57:22 --- Patch pushed. Please test and close. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4270 Jane Wagner <jwagner@ptfs.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |PATCH-Sent --- Comment #4 from Jane Wagner <jwagner@ptfs.com> 2010-05-12 14:00:25 --- The fix for this bug (in ptfs-harley) can be pulled from the public git repository at http://github.com/Koha-PTFS, branch Bug4270 -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com