Main Koha release repository https://koha-community.org
Find a file
Dobrica Pavlinusic 622967b323 Bug 7961 - Local cover images should support CSV link files
Corrent code doesn't have support for filenames which contain spaces
or commans which breaks CSV files saved from spreadsheet similar to:

  12345, "conver image, with spaces.jpg"

This patch tweaks file parsing a bit. We are always splitting line to
only two values (to support commas as part of filename) and removing
spaces only on beginning and end of filename (to cover space after
comma in CSV example above while preserving spaces in filename).

With this change only invalid character in picture filename left
are quotes (") which are commonly used to quote strings with spaces.

Covers added will be logged in action_log, using CATALOGUING / MODIFY
action (which is shown as "Catalog" in tools > Log viewer)

Test scenario:

1. collect pictures with spaces and commas in name
2. dump file list into CSV file and add biblio number as first column
   (name of file is idlink.txt or datalink.txt)
3. create zip with CSV file and pictures
4. verify that all pictures got uploaded and linked to biblio records
5. verify that modification log includes cover image name

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-06-20 09:42:25 +02:00
acqui Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
admin Talking Tech Support - Phase I - Followup - Fix Messaging Preferences 2012-06-10 17:46:58 +02:00
authorities Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
basket
C4 Bug 7329 [Followup] : when reverting an import, keep matching biblionumber in batch table, if items are not deleted because they are issued. 2012-06-20 09:38:01 +02:00
catalogue Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
cataloguing Bug 7652: Add item barcode on top of its editing form 2012-06-10 11:49:31 +02:00
circ Bug 7444: Update circ/circulation.pl to use KohaDates TT Plugin 2012-06-11 18:02:26 +02:00
debian Bug 7411: Remove diacritics from generated userid 2012-06-11 16:43:39 +02:00
docs Adding Shari Perkins as contributor 2012-06-10 13:56:26 +02:00
errors
etc Bug 7586 - Search: Language restriction does NOT show expected results (no items shown) 2012-06-10 11:00:14 +02:00
install_misc Bug 7411: Remove diacritics from generated userid 2012-06-11 16:43:39 +02:00
installer Bug 4246 Follow-up updatedatabase 2012-06-10 18:16:33 +02:00
Koha Merge remote-tracking branch 'origin/new/bug_8092' 2012-06-14 17:57:09 +02:00
koha-tmpl Bug 7444: Update circ/circulation.pl to use KohaDates TT Plugin 2012-06-11 18:02:26 +02:00
labels Bug 8140 - [SIGNED-OFF] Error when exporting label xml 2012-05-28 18:15:31 +02:00
members Talking Tech Support - Phase I 2012-06-10 17:46:52 +02:00
misc Bug 8136 Changes the expected lenght of 100$a in rebuild_zebra.pl 2012-06-20 09:39:27 +02:00
offline_circ Bug 4976 - Status of item returned with process_koc.pl is empty in Intranet 2012-03-19 16:23:10 +01:00
opac Bug 7570 - Add Item availability status to cart. 2012-06-11 17:50:41 +02:00
patroncards Bug 7318: Fixes category display in patroncards Patron Search results. 2012-02-27 18:01:00 +01:00
reports Bug 4330 : Fixing FSF address and copyright headers 2012-05-28 17:53:40 +02:00
reserve Bug 7815 : Order pickup libraries list by name rather than by code 2012-06-10 13:09:00 +02:00
reviews
rotating_collections
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 5337: EAN management : Adds ean for various searches 2012-06-09 18:26:34 +02:00
services Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02:00
skel
sms
suggestion Bug 7871: prevents crash when suggestion linked to erased budget 2012-04-10 13:41:16 +02:00
svc Bug 7248 follow-up (alternative) 2012-05-15 18:05:58 +02:00
t Merge remote-tracking branch 'origin/new/bug_7952' 2012-06-14 15:56:29 +02:00
tags Bug 6933 follow-up, perltyding new script list.pl 2012-02-02 10:17:43 +01:00
test
tmp/modified_authorities
tools Bug 7961 - Local cover images should support CSV link files 2012-06-20 09:42:25 +02:00
virtualshelves Bug 7788: [SIGNED-OFF] Followup: GetShelf call in addbybiblio script corrected 2012-05-22 12:06:26 +02:00
xt Bug 8022: Permissions test doesn't check all languages 2012-05-14 15:05:16 +02:00
.htaccess
.mailmap 7439 Mailmap for master 2012-01-27 12:27:58 +01:00
about.pl
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
install-CPAN.pl
INSTALL.debian Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.fedora7 Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.opensuse Bug 7759, update of install files to use background indexing (and some whitespace tidy) 2012-04-20 16:11:52 +02:00
INSTALL.ubuntu Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
INSTALL.ubuntu.lucid Bug 8092 follow-up: Add optional dependency on CHI 2012-06-09 13:08:18 +02:00
koha_perl_deps.pl Bug 6914 - fixes for the color option of koha_perl_deps.pl 2011-12-03 07:47:38 +01:00
kohaversion.pl Bug 4246 Follow-up updatedatabase 2012-06-10 18:16:33 +02:00
LICENSE
mainpage.pl Bug 6875 cleaning mainpage.pl 2012-02-15 14:58:31 +01:00
Makefile.PL Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00
MANIFEST.SKIP
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
rewrite-config.PL Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/