This also happens in 3.4 Attempted to export a group of biblios in order to batch edit them. Entered a range of biblio numbers. Selected item type component (components do not have item records attached). It produces an empty file (no error message). If I select all item types, it only exports biblios with item records attached, skipping over the biblios that do not have items attached. Cannot export MARC records that do not have item records attached, even if the range of biblio numbers is only criteria. Would it be possible to change the item type criteria so that it looks at 942$c for the item type? Should it provide an error message if it fails to match anything rather than producing an empty file?
Koha 3.14.03 Further experiences with this problem. Exporting a subset of the catalog selected by item type produces 0 records (these are item types that do not have item records attached). Exporting the whole catalogue as MARC, with items attached fails, the resulting file appears to only contain biblios with items. None of the biblios without items were exported. If I export the whole catalogue without items attached, then it will export all the records. Testing the export as XML: Exporting a subset of records selected by item type still produces 0 records (these are item types that do not have item records attached. Exporting the whole catalog, with items attached produces the expected number of records.
The value of syspref item-level_itypes is what governs this. It appears to default to specific item - which then gives the above results. (Admin > System preferences > Cataloguing)
Testing on Debian 8 Koha 16.11.08 it doesn't matter the value on item-level_itypes, it nevers export a biblio record if there is not an item attached
Ok, I have figured out that it doesn't export bibliographic because it looks for 942, but 942 it is a koha field and If your catalogue has imported recordss via z39.50 for example and you do not attach itmems.. koha will never export it..
Um, so what is the solution? We need to export records that we are about to delete, and by definition they won't have items attached, so this is a big problem for us. Is the only current workaround to ensure all bibs have an item type in the 942?
Maybe generating a list of biblionumbers with a report and using this as your base for exporting could work for you? Make sure all branches are unchecked. Using a biblionumber range with branches unchecked also seems to work for me. There have been fixes to the export tool since this bug was filed, maybe one of it improved behaviour.
Thanks Katrin! This is the key: "Make sure all branches are unchecked." Perfectly logical, but I hadn't thought to try it.
Glad I could help! Closing, please reopen if still needed.