[koha-commits] main Koha release repository branch master updated. v16.05.00-585-g58661d9

Git repo owner gitmaster at git.koha-community.org
Fri Sep 2 17:01:23 CEST 2016


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, master has been updated
       via  58661d9b4be3398c24bbac8147a2d0b3f1f95d45 (commit)
      from  ff51ec00833dcd26af762d872075ab927921fe21 (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 58661d9b4be3398c24bbac8147a2d0b3f1f95d45
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Aug 19 16:09:55 2016 +0100

    Bug 17118: (follow-up 15381) Fix regression when clearing a linked authority
    
    Changes made on bug 15381 assumed that the authid was always set.
    But if the user wants to clear the field of the authority, the script is
    called with authid=0 (FIXME...)
    
    To fix this issue, it's better to move the new calls to
      Koha::Authorities->find($authid)->authtypecode
    and
      Koha::Authority::Types->find($authtypecode);
    at the correct place
    
    Test plan:
    1. Edit a record which has a field linked to an
       authority record (100a for instance).
    2. Click the link which triggers the tag editor.
       A pop-up window should be displayed.
    3. In the pop-up window, click the "Clear field"
       button.
    => Without this patch A second pop-up window opens and displays an error:
      Can't call method "authtypecode" on an undefined value at /authorities/blinddetail-biblio-search.pl line 61.
    => With this patch applied the field is correctly cleared.
    
    Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
    
    Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 authorities/blinddetail-biblio-search.pl |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list