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, 20.05.x has been updated
       via  e5baeac0fdbc5fc83256effeff304e736c7dc154 (commit)
       via  6a395eab2d3ce6c9564b387eaa8f863632518997 (commit)
      from  898bd1256af37f5c4ec945e1d99b5146eecc2231 (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 e5baeac0fdbc5fc83256effeff304e736c7dc154
Author: Nick Clemens <[email protected]>
Date:   Tue Apr 28 15:34:20 2020 +0000

    Bug 25189: Don't create authority if results found
    
    Automatic authority creation assumes that if we don't match we need a new 
authority.
    
    Using the Default linker, however, we don't match if there exists more than 
one match.
    This leads to repeatedly generating authorities once there is a duplicate 
in the system
    
    We shoudl instead only create a new authority if there are no results
    
    To test:
    1 - Set Linker Module to 'Default'
    2 - Enable  AutoCreateAuthorities  and  BiblioAddsAuthorities and  
CatalogModuleRelink and LinkerRelink
    3 - Add two copies of a single authority via Z39
    4 - Add a heading for that authority to a bib record
    5 - Save the record and note a new authority is generated
    6 - Repeat and see another is generated
    7 - Apply patch
    8 - Restart all the things
    9 - Save the record again, no new authority created
    
    Signed-off-by: Andrew Fuerste-Henry <[email protected]>
    Signed-off-by: Martin Renvoize <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 980419ed15cd4e5ae8be552218f939f5faea18c4)
    
    Signed-off-by: Lucas Gass <[email protected]>

commit 6a395eab2d3ce6c9564b387eaa8f863632518997
Author: Nick Clemens <[email protected]>
Date:   Tue Apr 28 13:29:52 2020 +0000

    Bug 25189: Unit tests
    
    Adds new test for not adding authority if some already exist
    
    Also replaces use of 'SearchAuthorities' as it is Zebra specific
    
    Signed-off-by: Andrew Fuerste-Henry <[email protected]>
    Signed-off-by: Martin Renvoize <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 258d0b0ecd6450fea09677f0607efdedb33cc16c)
    
    Signed-off-by: Lucas Gass <[email protected]>

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

Summary of changes:
 C4/Biblio.pm            |  4 ++--
 C4/Linker/Default.pm    |  4 +++-
 t/db_dependent/Biblio.t | 36 ++++++++++++++++++++++++++++++++----
 3 files changed, 37 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
main Koha release repository
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to