[Koha-bugs] [Bug 5635] bulkmarcimport new parameters & features

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 4 15:43:11 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5635

Matthias Meusburger <matthias.meusburger at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthias.meusburger at biblibr
                   |                            |e.com

--- Comment #24 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Please note that when no authtypes are provided, bulkmarcimport will crash.

A possible patch would be:

@@ -544,6 +544,7 @@ sub get_heading_fields{
         $debug && warn YAML::Dump($headingfields);
     }
     unless ($headingfields){
+        my $dbh = C4::Context->dbh;
         $headingfields=$dbh->selectall_hashref("SELECT auth_tag_to_report,
authtypecode from auth_types",'auth_tag_to_report',{Slice=>{}});
        
$headingfields={C4::Context->preference('marcflavour')=>$headingfields};
     }

Could you please fix this, Stéphane ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list