[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.02-87-g269bbbf2b6

Git repo owner gitmaster at git.koha-community.org
Sat Feb 8 00:38:46 CET 2020


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, 19.11.x has been updated
       via  269bbbf2b670f2985febfa14554cd8a6d5b03620 (commit)
       via  d950985d17db7c142e6c99edb41a7dc9c2d906ef (commit)
       via  8d42c6be904cf1e23c179063500d236fc5789d8f (commit)
      from  1887f8a715944b80227171441b427d5ccf6177d1 (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 269bbbf2b670f2985febfa14554cd8a6d5b03620
Author: Joy Nelson <joy at bywatersolutions.com>
Date:   Fri Feb 7 23:11:45 2020 +0000

    Bug 24289: DBRev 19.11.02.003
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit d950985d17db7c142e6c99edb41a7dc9c2d906ef
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Dec 26 12:06:10 2019 +0100

    Bug 24289: Make sure sample_holidays will load after sample_libraries
    
    They are inserted depending on their alpha order, and sample_holidays
    will fail because of missing branchcode.
    This patch suggests a simple fix: rename sample_holidays to
    sample_libraries_holidays, to make sure it will be loaded after
    sample_libraries
    
    Test plan:
    Start a fresh installation and select all sample data
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

commit 8d42c6be904cf1e23c179063500d236fc5789d8f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Dec 26 11:42:43 2019 +0100

    Bug 24289: Add foreign keys on *_holidays.branchcode tables
    
    Those are missing foreign keys, it will also clean the holidays tables
    and automatically remove the holidays when a library is removed.
    
    Test plan:
    0. Do not apply this patch
    1. Create a new library
    2. Create special and repeatable holiday for this library
    3. Remove the library
    => Notice that the holidays still exist in DB
    4. Apply this patch
    5. Execute the update database entry
    => Notice that the holidays for this library have been removed from the DB
    6. Repeat 1-3
    => Notice that the holidays have been removed along with the library
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>

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

Summary of changes:
 Koha.pm                                            |  2 +-
 Koha/Schema/Result/Branch.pm                       | 34 ++++++++++++++++++++--
 Koha/Schema/Result/RepeatableHoliday.pm            | 25 +++++++++++++---
 Koha/Schema/Result/SpecialHoliday.pm               | 25 +++++++++++++---
 installer/data/mysql/atomicupdate/bug_24289.perl   | 31 ++++++++++++++++++++
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 ...holidays.sql => sample_librairies_holidays.sql} |  0
 ...holidays.txt => sample_librairies_holidays.txt} |  0
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 installer/data/mysql/kohastructure.sql             | 10 ++++---
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 ..._holidays.sql => sample_libraries_holidays.sql} |  0
 ..._holidays.txt => sample_libraries_holidays.txt} |  0
 installer/data/mysql/updatedatabase.pl             | 33 +++++++++++++++++++++
 21 files changed, 145 insertions(+), 15 deletions(-)
 create mode 100644 installer/data/mysql/atomicupdate/bug_24289.perl
 rename installer/data/mysql/de-DE/optional/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/de-DE/optional/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)
 rename installer/data/mysql/en/optional/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/en/optional/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)
 rename installer/data/mysql/es-ES/optional/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/es-ES/optional/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)
 rename installer/data/mysql/fr-CA/facultatif/{sample_holidays.sql => sample_librairies_holidays.sql} (100%)
 rename installer/data/mysql/fr-CA/facultatif/{sample_holidays.txt => sample_librairies_holidays.txt} (100%)
 rename installer/data/mysql/it-IT/optional/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/it-IT/optional/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)
 rename installer/data/mysql/nb-NO/2-Valgfritt/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/nb-NO/2-Valgfritt/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)
 rename installer/data/mysql/pl-PL/optional/{sample_holidays.sql => sample_libraries_holidays.sql} (100%)
 rename installer/data/mysql/pl-PL/optional/{sample_holidays.txt => sample_libraries_holidays.txt} (100%)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list