[koha-commits] main Koha release repository branch new/bug_6875 updated. v3.06.00-563-g386284d

Git repo owner gitmaster at git.koha-community.org
Wed Mar 14 16:16:17 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_6875 has been updated
       via  386284d2d5a773e274d30e7ecf1deb137593734e (commit)
      from  df5405c56e0f89dee44ed1cf1a3a761cf31efe3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 386284d2d5a773e274d30e7ecf1deb137593734e
Author: Ian Walls <koha.sekjal at gmail.com>
Date:   Sat Mar 10 08:02:26 2012 -0500

    Bug 6875 Followup: De-nesting C4::Items breaks bulkmarcimport
    
    Removing 'use C4::Branch' in favour of a subroutine-specific 'require C4::Branch'
    causes the GetBranchName subroutine to return an error, as it's not defined
    in C4::Items.  Adding "C4::Branch::" scoping fixes the error, which is what's done here.
    
    To confirm problem:
    1.  Attempt to run bulkmarcimport.pl before applying the patch.  You should get
        ERROR: Adding items to bib 435 failed: Undefined subroutine &C4::Items::GetBranchName
        called at /home/sekjal/kohaclone/C4/Items.pm line 656, <GEN13> line 435.
    
    To test:
    2.  apply patch
    3.  run bulkmarcimport again.  Error should disappear.
    
    Signed-off-by: Ian Walls <koha.sekjal at gmail.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Note that this problem only appears when importing records with item (952)
    fields.
    
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Items.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list