marc export exports all records when using an empty list of record IDs

Bug #1329872 reported by Robert Soulliere on 2014-06-13
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

EG version 2.6
OpenSRF Version: 2.3
PostgreSQL Version: 9.1
Linux Distribution: Debian Squeeze

If trying to export records using the marc records export tool, all records will be exported if the file of IDs is empty.

For example:

In this case:
cat bibs.ids | /openils/bin/marc_export -f USMARC -e UTF-8 > records.marc

Records.marc will be all the records in the system if bibs.ids does not contain any record IDs.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers