[koha-commits] main Koha release repository branch master updated. v16.11.00-650-gdd88c8f

Git repo owner gitmaster at git.koha-community.org
Fri Mar 31 12:47:40 CEST 2017


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  dd88c8f710e4915dac6437355c356f0632b776fb (commit)
      from  ead7d86842d76e4619ebf7a4d9fa28998bad3442 (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 dd88c8f710e4915dac6437355c356f0632b776fb
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Feb 14 14:39:48 2017 +0000

    Bug 18058: Allow borrower_message_preferences to be truncated
    
    borrower_message_preferences cannot be truncated because of the foreign.
    DBMS fails with
      "Cannot truncate a table referenced in a foreign key constraint"
    
    To avoid that we should remove the FK check and truncate the other table
    as well.
    
    I am wondering if we really need a truncate here
      DELETE FROM borrower_message_preferences;
    should do the job, but leave it as it because of the param name.
    
    Test plan
      perl misc/maintenance/borrowers-force-messaging-defaults --doit --truncate
    Should no longer raise the error message
    
    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>

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

Summary of changes:
 misc/maintenance/borrowers-force-messaging-defaults |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list