main Koha release repository branch 3.22.x updated. v3.22.19-1-g2907d4b

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

main Koha release repository branch 3.22.x updated. v3.22.19-1-g2907d4b

Git repo owner
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  2907d4bf907ec1d3f6a618f29bc5859837b559e4 (commit)
      from  2e9be0441c63603d1d48e5b4fb9272bef0dba071 (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 2907d4bf907ec1d3f6a618f29bc5859837b559e4
Author: Jonathan Druart <[hidden email]>
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 <[hidden email]>
    Signed-off-by: Marcel de Rooy <[hidden email]>
    Signed-off-by: Kyle M Hall <[hidden email]>
    (cherry picked from commit dd88c8f710e4915dac6437355c356f0632b776fb)
    Signed-off-by: Katrin Fischer <[hidden email]>
    (cherry picked from commit e2f860386dd811b2be3b2988b690c2d28d748336)
    Signed-off-by: Julian Maurice <[hidden email]>


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

main Koha release repository
koha-commits mailing list
[hidden email]