[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.06-33-g4ebc3a2

Git repo owner gitmaster at git.koha-community.org
Mon May 16 09:47:14 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, 3.22.x has been updated
       via  4ebc3a2bcae527c4099b806dba5bded92ab0fd68 (commit)
       via  a839f0f77d3e9eb4a08d99ab01452454fbed58ae (commit)
       via  43738270c94073cffe56cae02be855b3d5789176 (commit)
       via  aea742b87b91c71a0b0ea3dcb0938eb9fe65900d (commit)
       via  a6c8050c28310b2ce0359256a04d4b4d666afa02 (commit)
      from  846409fb9f8952b4b7b5f0ded537f1943b631f34 (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 4ebc3a2bcae527c4099b806dba5bded92ab0fd68
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue May 3 15:04:20 2016 +0000

    Bug 16170: Update DB rev (3.22.06.003)
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit a839f0f77d3e9eb4a08d99ab01452454fbed58ae
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Apr 1 09:34:50 2016 +0200

    Bug 16170: [QA Follow-up] Fix embeded typos
    
    Just noticed this typo three times here.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 6e0b6ecf1347a91c2d324abc08e76f1cd8d9ffd0)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 43738270c94073cffe56cae02be855b3d5789176
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Apr 1 09:24:04 2016 +0200

    Bug 16170: [QA Follow-up] Adjust Items.t
    
    Items.t inserts an item via biblioitem not correctly linked to biblio.
    The new foreign key constraint does not allow that.
    Actually, we should be choosing to either remove biblioitems from Koha or
    remove biblionumber from items.
    
    Note: This seems to be the only case where an item is added this way.
    
    Test plan:
    Run Items.t
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 1608b89b7ff90ae1cc307d9f096ddaab29ba2192)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit aea742b87b91c71a0b0ea3dcb0938eb9fe65900d
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Wed Mar 30 20:11:45 2016 -0400

    Bug 16170 - Corrected to make work more smoothly
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 503cc30d9ae03f12b3c412d2d280ea76393b97da)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit a6c8050c28310b2ce0359256a04d4b4d666afa02
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed Mar 23 16:59:26 2016 +0100

    Bug 16170: Pseudo foreign key in Items
    
    While many of us would like to get rid of biblioitems one day, the current
    scheme includes a biblioitemnumber and a biblionumber in Items.
    (Which is not so great..)
    
    But also note that biblionumber is NOT defined as a foreign key in Items,
    although a belongs_to relation has been added to the DBIx scheme!
    This inconsistency should be resolved. The "remove biblioitem table"
    operation is a large one, but in the meantime we better make biblionumber
    a regular FK not a 'pseudo' one.
    
    Note: If in an (very) exceptional case biblionumbers are found in items,
    that do not exist in biblio, this patch prints a warning at upgrade
    time and does not add the constraint.
    
    @RM: Please update the DBIx scheme accordingly.
    
    Test plan:
    [1] Run the upgrade. Check if the FK constraint has been added.
    [2] Remove the FK constraint. Change the biblionumber of one item to an
        unexisting record. Run the upgrade again. Notice the warning.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Tested both cases: constraint added as well as warning printed.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 33694a8faac22e760e0559d99a9d013f7c90275b)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 Koha.pm                                |    2 +-
 installer/data/mysql/kohastructure.sql |    3 ++-
 installer/data/mysql/updatedatabase.pl |   21 +++++++++++++++++++++
 t/db_dependent/Items.t                 |   31 +++++++++++++------------------
 4 files changed, 37 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list