| Summary: | ./tools/export.pl die if too many items in a record | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Stéphane Delaune <stephane.delaune> | 
| Component: | Command-line Utilities | Assignee: | Robin Sheat <robin> | 
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> | 
| Severity: | normal | ||
| Priority: | P5 - low | CC: | fridolin.somers | 
| Version: | 3.14 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 | 
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 11096 | ||
| Bug Blocks: | |||
| 
 
        
          Description
        
        
          Stéphane Delaune
        
        
        
        
          2014-03-14 10:55:33 UTC
        
       
    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.  |