[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.07-53-g51417fd

Git repo owner gitmaster at git.koha-community.org
Thu Jun 16 11:12:41 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  51417fde52baefbf8750f5690fb75c86820238fc (commit)
       via  f952cf0b7f45d36a795db6fd8ac3ce8019e32488 (commit)
       via  853d297415c20a6a4fa42362185572006ee64192 (commit)
      from  32bf30da9d5cf182171861b5b2dadcab60d1c4b3 (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 51417fde52baefbf8750f5690fb75c86820238fc
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Jun 8 15:32:31 2016 +0100

    Bug 16492: Add a FIXME to explain the possible problem with no_set_userenv
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 4f3067184d7dd3666d404a2165d72755cb0b227d)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit ac00e73077164db595432b723ee6f938e009dc7d)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit f952cf0b7f45d36a795db6fd8ac3ce8019e32488
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed May 25 17:33:00 2016 +0100

    Bug 16492: Test that no_set_userenv will not set userenv if not exist yet
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit bb6e70fe7d4ba530fe64179fe6fde4d6b4ec5e35)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit f69eeca6c4a7d7d4b0538e7964a0f5f190de4b4e)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit 853d297415c20a6a4fa42362185572006ee64192
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue May 10 16:36:03 2016 +0000

    Bug 16492 - Checkouts ( and possibly checkins and other actions ) will use the patron home branch as the logged in library
    
    Bug 14507 introduced the use of checkpw in C4::SIP::ILS::Patron so that
    non-Koha internal authentication processes would be able to function via
    SIP ( LDAP et al ).
    
    The problem is that checkpw changes the userenv to that of the patron!
    This is not usually an issue in Koha because most of the time that
    patron running through checkpw is the one to be logged in.
    
    Aside from SIP2 the only other area where this may be an issue is in SCO
    when using SelfCheckoutByLogin.
    
    Test Plan:
    1) On master, check out an item to a patron via SIP2
    2) Note the checkout lists the item as having been checked out
       from the patron's home library not matter which library is was
       supposed to be checked out from.
    3) Apply this patch
    4) Re-checkout the item
    5) The item should now be checked out as if it was checked out from
       the library as defined in the SIP configuration file.
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 90307bcbfaf4c2c8907be94eabca249ac173442e)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 57086a241e141e157d42b8af3f56ae9283d46ae9)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 C4/Auth.pm            |   15 ++++++++++-----
 C4/SIP/ILS/Patron.pm  |    2 +-
 t/db_dependent/Auth.t |   42 +++++++++++++++++++++++++++++++-----------
 3 files changed, 42 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list