./tools/export.pl die if too many items in a record because eval is on GetMarcBiblio($recordid) but not on C4::Biblio::EmbedItemsInMarcBiblio
bug is : ~/src/tools$ ./export.pl --filename=/home/koha/dumps/exports/`date +%F`-notices_total.mrc --clean Undefined subroutine &MARC::Record::carp called at /usr/share/perl5/MARC/Record.pm line 565. in fact the koha-community marc-record package have this bug (corrected in newer versions)
in community repository, libmarc-record-perl is in 2.0.2-1 ; a newer version is 2.0.3-1
(In reply to stephane.delaune from comment #2) > in community repository, libmarc-record-perl is in 2.0.2-1 ; a newer version > is 2.0.3-1 this is a mistake, libmarc-record-perl is not into community repository ; it's a dependancy. I propose to set in C4/Installer/PerlDependencies.pm the min_ver to 2.0.3 instead of 2 for MARC::Record I propose to add the 2.0.3 version deb package into community repository for all squeeze users
MARC::Record 2.0.6 has been uploaded to the repo now. Note that this won't fix the underlying issue, i.e. there are too many items for USMARC to handle, but it'll stop the bad error.
(In reply to Robin Sheat from comment #4) > MARC::Record 2.0.6 has been uploaded to the repo now. Note that this won't > fix the underlying issue, i.e. there are too many items for USMARC to > handle, but it'll stop the bad error. Do you agree to change the min version in C4::Installer::PerlDependencies ?
(In reply to Fridolin SOMERS from comment #5) > Do you agree to change the min version in C4::Installer::PerlDependencies ? It's probably best, given it does cause actual breakage.
Bug 11096 has set the dependency to 2.0.6.