[koha-commits] main Koha release repository branch 16.11.x updated. v16.11.12-91-g8435688

Git repo owner gitmaster at git.koha-community.org
Wed Oct 18 23:29:57 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, 16.11.x has been updated
       via  8435688b2c3d35ed0ee5375841f8d17ab1c3d89c (commit)
       via  6a6f704d02d0ca0ab973afcb6729fa5e47c15f1a (commit)
       via  ffd14c3d285c34fb5728d71d051fce022bf1f316 (commit)
       via  be36b318beaf09d27bfff36b095afe34a94d9041 (commit)
       via  8884545ef632b746436a8117348de150e93071af (commit)
       via  5b3ad8e093f402b3e55544a54d4b10b8ac46f384 (commit)
       via  77d232b41c5968f7877e6bae8e61dc0a37f24dfd (commit)
       via  729e3aa486973d7deb9a922af6e7d9aa48cabe05 (commit)
       via  d47465f38229ddab577a195419d4ddb4524885a7 (commit)
       via  0b2e517259eaf7838bb814d3a36137424df89583 (commit)
      from  61cfb6e24172804e48edc01e9dde2081cffcbaec (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 8435688b2c3d35ed0ee5375841f8d17ab1c3d89c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Sep 27 12:54:18 2017 -0300

    Bug 19372: (bug 15801 follow-up) pass selected frameworkcode to the template
    
    Bug 15801 removes the 2 lines that were necessary to retrieve the
    framework selected by the user and pass it to the template.
    All bibliographic records created when adding an order to the basket
    using an external source used the default framework.
    
    Test plan:
    Add an order to a basket from an external source
    Select another framework than the default one
    => Without this patch, whatever the framework you picked, the default
    one is used
    => With this patch applied the framework code you will pick will be used
    
    Signed-off-by: Marijana Glavica <mglavica at ffzg.hr>
    
    Signed-off-by: Marijana Glavica <mglavica at ffzg.hr>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 60a17c1b2b8582620fc94ab9eadd7e8336a5d1fa)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit 13f9359dc3da8be011370327b20d9cd4f05ee490)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 6a6f704d02d0ca0ab973afcb6729fa5e47c15f1a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Sep 27 13:44:00 2017 -0300

    Bug 19366: Do not block patron's detail update if EmailMustBeUnique
    
    If the pref PatronSelfRegistrationEmailMustBeUnique is set ("consider"),
    a patron is not allowed to register with an existing email address.
    The existing code is wrong and reject a patron that is updating their
    personal details with "This email address already exists in our
    database.", even if the patron did not modify their email address.
    
    This is caused by the query we made, we must search for patron with this
    email address but who is not the current patron.
    
    Test plan:
    - Set PatronSelfRegistrationEmailMustBeUnique to "consider"
    - Register a new patron with an existing email address
    => you should not be allowed
    - Use a non-existent email address
    => You should be allowed
    - Edit your patron details
    - Modify some infos
    => Should pass
    - Modify your email address with an existing one
    => You should not be allowed to do that
    
    Followed test plan, patches worked as described
    Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit ae02cf97e469a17d3bdc9d5c7db702960fd620c8)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit e23822b869ea66f63ce6c6027e418c79e3c7ba04)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit ffd14c3d285c34fb5728d71d051fce022bf1f316
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Fri Sep 15 11:12:01 2017 +0200

    Bug 19323: subscription edit permission issue
    
    If a librarian has edit_subscription but not create_subscription :
    When trying to edit a subscription, after saving permission is denied.
    
    This is because permissions in serials/subscription-add.pl depends on arg 'op' and on edit this arg starts with 'modify' but changes to 'modsubscription' when saving.
    
    Test plan :
    - Create a user with staff access
    - Define its permissions on serials : only edit_subscription
    - Edit a subscription
    - Click 'Next'
    - Click 'Test prediction pattern'
    - Click 'Save subscription'
    => Without patch you get to page serials/subscription-add.pl with permission denied
    => With patch subscription is saved and you get to subscription details page
    
    Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 12bd6358cfe6c9348cb111d22f04097f7911babf)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit fe386c172496159198b34383c3080185de7ae0af)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit be36b318beaf09d27bfff36b095afe34a94d9041
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Fri Sep 1 21:23:20 2017 -0400

    Bug 19120: Leave cancelled ordered items alone when reopening basket
    
    TEST PLAN
    ---------
    1) Apply first patch
    2) prove t/db_dependent/Acquisition/close_reopen_basket.t
       -- FAILS
    3) Apply this patch
    4) prove t/db_dependent/Acquisition/close_reopen_basket.t
       -- SUCCESS!
    5) run koha qa test tools
    
    Followed test plan, patch worked as described
    Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 632e2ad51d2510a412224ded5e51a9f991d566b4)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit 47223f0cad47913c15f4c9dacfbc0ed4682a8e2d)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 8884545ef632b746436a8117348de150e93071af
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Fri Sep 1 21:21:40 2017 -0400

    Bug 19120: Add tests to reproduce the problem
    
    TEST PLAN
    ---------
    1) apply this patch
    2) prove t/db_dependent/Acquisition/close_reopen_basket.t
       -- FAILS!
       -- This proves the test works.
    3) run koha qa test tools
    
    Followed test plan, patch worked as described
    Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
    
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit d34fae94995977b730e4bbfc11bdecaa3ce310a8)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit 1b8e2f600a51047191fca14bdaa19bca612887c9)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 5b3ad8e093f402b3e55544a54d4b10b8ac46f384
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Fri Oct 6 07:19:15 2017 +0000

    Bug 19418: (bug 12833 follow-up) Add missing use statement
    
    Patron search fail on calling svc/members/search. This script
    return a 500 error and the search stay on "Processing..."
    
    Test plan:
      - Enable ExtendedPatronAttributes system preference,
      - make a standard search (search fields),
      - check the search works and it doesn't stick on "Processing..."
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    I do not recreate the issue, but the change make sense and the issue has
    been raised by several people
    
    (cherry picked from commit 9c208a44313ed1f4bd12f8c9d3b45c5f2d386c5b)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit 2d04c80b37cb2f37f9709b8bcfc6b9a4e4eaaae9)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 77d232b41c5968f7877e6bae8e61dc0a37f24dfd
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 3 12:15:30 2017 -0300

    Bug 19350: Add tests
    
    (cherry picked from commit a2cc68e8b7a33dd7983c2125e32ba269777b8ace)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit 4ba051fd6eb54bbc3abf94d8f60b5543009cb32c)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 729e3aa486973d7deb9a922af6e7d9aa48cabe05
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Wed Sep 20 16:01:16 2017 +0200

    Bug 19350 - Holds without link in 773 trigger SQL::Abstract::puke
    
    Test:
    1. find bibio without items which has something in field 773
       (for us, it's article) but doesn't have 0 or 9 (host item entry)
    2. click on hold in left menu
    3. verify application error
    4. apply patch and verify that it works
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    (cherry picked from commit 5c873a408f40fd1660d0b09c6de8c1ca2e252d11)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit a2fd973b644c9956ce7c35bdc2fcdb7b0e71e45e)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit d47465f38229ddab577a195419d4ddb4524885a7
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Oct 9 15:57:46 2017 -0300

    Bug 19440: Existing calls need to be done in scalar context
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit fed86d50420dcb3fb468c5743a1e370d075bc5e0)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit c4112a744f38f2ae78db1828c20d98d512d6efb9)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

commit 0b2e517259eaf7838bb814d3a36137424df89583
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Mon Oct 9 15:36:41 2017 -0300

    Bug 19440: Identify overlimit problems in XISBN tests
    
    This patch makes C4::XISBN::get_xisbns() return an errors hashref
    including information of the failing fetches from xisbn services.
    
    It tackles the situation of XISBN, which in some cases returns 'overlimit'
    errors.
    
    The patch makes the relevant functions check if the response->{stat} string
    is 'ok' and returns the string in $errors otherwise.
    
    This only happens when in list context. This allows to fix the randomly failing
    tests while keeping the current behaviour.
    
    All this code should be rewritten. It does the job bug doesn't have problems handling
    or reoprting. This is just a band aid.
    
    To test:
    - Make sure
     k$ prove t/db_dependent/XISBN.t
    => SUCCESS :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit e90874241808354777cc1c27ad3ad106ffdc7cd4)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
    (cherry picked from commit aaf0d3dc474def89ffbb69548ebaf830109143b0)
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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

Summary of changes:
 C4/Acquisition.pm                                |    2 +-
 C4/Items.pm                                      |    5 +++++
 C4/Utils/DataTables/Members.pm                   |    1 +
 C4/XISBN.pm                                      |   11 +++++++++--
 acqui/z3950_search.pl                            |    2 ++
 catalogue/detail.pl                              |    2 +-
 opac/opac-detail.pl                              |    2 +-
 opac/opac-memberentry.pl                         |   13 ++++++++++++-
 serials/subscription-add.pl                      |    3 ++-
 t/db_dependent/Acquisition/close_reopen_basket.t |   12 +++++++++++-
 t/db_dependent/Items.t                           |   17 ++++++++++++++++-
 t/db_dependent/XISBN.t                           |    8 ++++----
 12 files changed, 65 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list