Koha-clms/misc
Fridolin Somers 4d9ab04a93 Bug 26175: Remove warn if undefined barcode in misc/export_records.pl
When using misc/export_records.pl --deleted_barcodes if barcode is NULL you get warn :
Use of uninitialized value in say at /home/koha/src/misc/export_records.pl

Also exporting barcode if empty string makes no sense.

Test plan :
1) Delete an item with barcode = NULL
2) Run : misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/deleted_barcodes
3) Check you se no warn "Use of uninitialized value in say ..."
4) Delete an item with barcode = ''
5) Run 2)
6) Check there is no empty line in /tmp/deleted_barcodes

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-26 15:21:41 +02:00
..
admin Bug 21395: Fix misc/admin/koha-preferences 2020-06-29 15:43:41 +02:00
bin Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
cronjobs Bug 25958: (QA follow-up) Implement filter in database query instead of in loop 2020-08-25 12:01:43 +02:00
devel Bug 24591: Add --help option to misc/devel/get-prepared-letter.pl 2020-08-07 16:54:40 +02:00
interface_customization Bug 23148: Replace Bridge icons with transparent PNG files 2020-07-20 16:16:37 +02:00
load_testing
…
maintenance Bug 25955: Fix getting index_name 2020-07-22 10:17:53 +02:00
migration_tools Bug 23696: take deleted biblios into account when building oai sets 2020-07-24 14:09:30 +02:00
release_notes Bug 25642: Fix description of new feature in update_dbix_class_files.pl 2020-06-15 10:30:01 +02:00
search_tools
…
translator Bug 25922: Fix typo 'arial-label' -> 'aria-label' 2020-07-20 17:45:31 +02:00
add_date_fields_to_marc_records.pl
…
batchCompareMARCvsFrameworks.pl
…
batchDeleteUnusedSubfields.pl
…
batchImportMARCWithBiblionumbers.pl
…
batchRebuildBiblioTables.pl
…
batchRebuildItemsTables.pl
…
batchRepairMissingBiblionumbers.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
batchdeletebiblios.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
check_sysprefs.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
commit_file.pl
…
export_borrowers.pl
…
export_records.pl Bug 26175: Remove warn if undefined barcode in misc/export_records.pl 2020-08-26 15:21:41 +02:00
exportauth.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
import_patrons.pl
…
koha-install-log
…
kohalib.pl
…
link_bibs_to_authorities.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
load_yaml.pl
…
mod_zebraqueue.pl
…
perlmodule_ls.pl
…
perlmodule_rm.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
recreateIssueStatistics.pl
…
sax_parser_print.pl
…
sax_parser_test.pl
…
sip_cli_emulator.pl
…
stage_file.pl
…
z3950_responder.pl
…