[koha-commits] main Koha release repository branch 17.11.x updated. v17.11.08-46-g863efa5

Git repo owner gitmaster at git.koha-community.org
Tue Aug 28 15:49:41 CEST 2018


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, 17.11.x has been updated
       via  863efa5d710748e468c7e25fdce8d104fd1aec73 (commit)
       via  99b6a69aef18a58d91129cb5b5a299f4ee0257f8 (commit)
       via  84f5ae669c36e10ec28d8015197a6450fe11eac8 (commit)
       via  297219f0dc137d0ee4eb343902be29e793a1d60c (commit)
       via  211a188494a40f0ef6cc1f3b993d0171602eeefa (commit)
       via  fe341ea4d2e7f1dd176bb27daaf1e69d29e327d6 (commit)
       via  c71253eb2ed3824cbc6c7d3972319712d3d5bf03 (commit)
       via  8989ceb93fd002b91257c370e1584cacae193678 (commit)
       via  0fb5af564b9b91cd9412f10f5f8e2e1377c73eab (commit)
       via  370be68026a2c7ee305078fec55848047b9e7203 (commit)
       via  52dd337fdb74ed9108949aca701f578c6c8421dc (commit)
       via  7b5968612d251c0a40e06f4bed1a99fa951d2b23 (commit)
       via  bff9e80adfa7692963a564c5c35c507d81e1f34b (commit)
      from  a27a32cab66a0c6a529d0f7918256d5615737dea (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 863efa5d710748e468c7e25fdce8d104fd1aec73
Author: Alex Arnaud <alex.arnaud at biblibre.com>
Date:   Tue Jul 3 13:57:00 2018 +0000

    Bug 21032: Fix using facet for searches made on specific index
    
    Test plan:
    
      - Try a simple search (OPAC or staff) like "title:foo",
      - click on a facet: badaboum!
      - apply this patch,
      - retry
    
    Signed-off-by: Séverine QUEUNE <severine.queune at bulac.fr>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 96f253d5ed2f1770b42f06554ebb4c4e14b3afdf)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 8cfacd7e164178828b0e75743e78d1740ab414b9)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 99b6a69aef18a58d91129cb5b5a299f4ee0257f8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Jul 11 11:29:15 2018 -0300

    Bug 21018: Allow uris defined in the item
    
    We need to search for uri defined for the itemnumber we passed in
    parameter.
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 1d888c8d0e9ee2eda9c793cf75fd73a7afeaef16)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 0971fed0b85834f20bc2450c7e68e1d252363b56)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 84f5ae669c36e10ec28d8015197a6450fe11eac8
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Jun 29 10:29:30 2018 -0300

    Bug 21018: Fix TrackClicks for 952$u
    
    Caused by
      commit 51b6cf2aafbfb45b9fcb072403b986fe3c2add53
      Bug 19847: Track links within the records and 404 for others
    
    We should also accept uri stored in items.uri (952$u)
    
    Test plan:
    - Turn on TrackClicks
    - Defined uri for some items
    - At the OPAC click on the link (from opac-detail.pl)
    => Without this patch you will get 404 (redirected from tracklinks.pl)
    => With this patch applied you will be redirected correctly and the
    linktracker will be filled correctly
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit d14ed73744fa23d4ed649da6d847f4b37cdfce92)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 20bfb6730f3d93d388a538871b94e83d867ac796)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 297219f0dc137d0ee4eb343902be29e793a1d60c
Author: Chris Nighswonger <cnighswonger at foundations.edu>
Date:   Wed Jul 4 11:23:11 2018 -0400

    Bug 8604: Patron cards made for patrons which don't have patron images use preceding card's image
    
    This patch corrects referential problems which caused the script to
    "re-use" images as well as other sorts of bad image behaviour.
    
    To test:
    
    1. Ensure that you can reproduce the original bug or some variation thereof
    using the steps described in either of these two comments:
    
        https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8604#c0
    
        https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8604#c6
    
        NOTE: This is not an easy bug to reproduce.
    
    2. Once you can reproduce the bug, apply this patch and follow the same steps
    used to reproduce the bug.
    
    3. Observe that the symptoms are corrected.
    
    Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
    Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller at bsz-bw.de>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Reproduced the bug and resolved it with this patch.
    Code is hard to read; exact cause of the problem was not fully uncovered.
    
    Fixed spelling 'Destory' => 'Destroy'
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit b5e60f15478a998f945ebc59b2c13ce9d37b8818)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 97825af008ba57f7d7229ddb6ce9318e67e22e18)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 211a188494a40f0ef6cc1f3b993d0171602eeefa
Author: Liz Rea <liz at catalyst.net.nz>
Date:   Thu Jul 26 16:26:15 2018 +1200

    Bug 21122: Fix check-url-quick when utf8 characters in URL's
    
    To test:
    
    Make a record with a URL that has a UTF8 character, such as:
    http://some.nonexistent.tld/MāoriWomenAotearoa.pdf
    Run the check-url-quick.pl job, notice it dies at that URL
    Apply this patch
    Test again, it should work.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 10720d2a5c50b82d565cab9ad70c8498164d81b2)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 1c988ed7fb3ca7d018c9c7e7cea5f22415b95836)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit fe341ea4d2e7f1dd176bb27daaf1e69d29e327d6
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Mon Jul 23 12:23:07 2018 +0000

    Bug 20811: (RM follow-up) fix check for matching
    
    Notice should only be triggered if both settings are false
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 12b505f2b797d77e800a17830f71a9c054cd076b)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit b1a07f712c23e62c830117d4c0ca1390044dc25c)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit c71253eb2ed3824cbc6c7d3972319712d3d5bf03
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Jul 20 11:46:58 2018 +0200

    Bug 20811: (QA follow-up) Prevent calling AddItemBatchFromMarc and ModBiblioMarc without biblionumber
    
    If you use -update but do not find matches (or did not want to match), you
    should not call those routines. We should warn and skip this record.
    
    Adding a warn at the start that the choice of options may not be smart.
    Note that this needs further attention somewhere else. You could mix
    -update with -insert for instance and still see some problems. (May depend
    on items with unique barcode etc.)
    
    Test plan:
    Run -update without match or isbn.
    Or run -update -isbn with a non-matching ISBN.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 15b865c6ee558ef278f911ba3693c38c024c7f11)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 8191625667162ac240a5d0e4d180632bcf100884)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 8989ceb93fd002b91257c370e1584cacae193678
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri Jul 20 11:21:11 2018 +0200

    Bug 20811: (QA follow-up) Make the isbn check work
    
    The following code was never reached, since $isbn was not filled.
        if (!$biblionumber && $isbn_check && $isbn) {
            $sth_isbn->execute($isbn);
            ($biblionumber,$biblioitemnumber) = $sth_isbn->fetchrow;
        }
    Solution: Fix the code with two $isbn declarations. Move the checkisbn
    condition a level deeper.
    
    Test plan:
    Run misc/migration_tools/bulkmarcimport.pl -file bib726.utf8 --update -isbn
    Since you do not match on biblionumber, the ISBN should match.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit a49a7f08d6dbaf992d70420dae744c75c2ad8aae)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 5094909140081b02c9688faa07fc630feab91f24)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 0fb5af564b9b91cd9412f10f5f8e2e1377c73eab
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon May 28 15:19:09 2018 -0300

    Bug 20811: Fix wrong usage of ModBiblio
    
    Since
      commit cefa7c21e28b88351ee8ae0dfefb80a515323df9
      Bug 5635: bulkmarcimport new parameters & features
    
    AddBiblio call has been replaced with ModBiblio, but the return values
    are different. We should not replace the value of $biblionumber with
    what returns this subroutine.
    
    Test plan:
    If you are familiar with bulkmarcimport.pl you should know what to test,
    I am not.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit d15185025a146656a1ad0d7d5a8eb261581c0f1e)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit c76d5b4b4a531e408fbaa5a9a7a523a749638764)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 370be68026a2c7ee305078fec55848047b9e7203
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date:   Thu Aug 2 15:56:11 2018 +0200

    Bug 14662: Add empty entries to pull downs in cataloguing form for mandatory subfields
    
    First patch deals with the problem on the item form, this
    patch fixes the same problem on catalouging form for the
    bibliographic record.
    
    To test:
    - Adapt your frameworks:
      - Make sure 942$c is mandatory
      - Link another field to an authorised value, for example: 942$n to YESNO
    - Add a new record
      - Verify that the first value of each pull down is preselected,
        there is no way to trigger the 'required' error
    - Apply patch
      - Add a record
        - Verify that classification source is preselected according to the
          DefaultClassificationSource system preference
        - Verify that 942$c now defaults to empty
        - Verify all your other mandatory subfields can be set to empty
        - Verify that you can't save before correctly setting them
      - Chane your frameworks
        - Add a default value for 942$c, for example: CF
      - Add another record
        - Verify the itemtype is now preset to your default itemtype
      - Edit an existing record, verify all values show correctly
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 038e4011d4e4c1270592d476479062467a7a9be8)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit b0d692dcaaa38a5e4842b2c1466560f08fd2b0e5)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 52dd337fdb74ed9108949aca701f578c6c8421dc
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date:   Tue Jul 31 23:58:33 2018 +0000

    Bug 14662: Add empty entries to pull downs on item form for mandatory subfields
    
    The code assumed that if a subfield is marked as mandatory, there should be no
    empty entry in the pull downs.
    
    This assumption is not correct, as it leads to the first entry of the
    pull down being preselected if there is no default set. Which means you
    will never be alerted of any cataloguing errors and errors will be very
    hard to find later on.
    
    Correct behaviour would be to preselect the empty value when there is
    no default. This means on saving the item an error message is triggered
    and the cataloger is forced to set the value.
    
    To test:
    - Adapt your frameworks:
      - Make 942$c non-mandatory
      - In 952 make itemtype, classification source and some other pull downs
        like location or collection mandatory
    - Add a new item
      - Verify that the first value of each pull down is preselected,
        there is no way to trigger the 'required' error
    - Apply patch
      - Add a new item
        - Verify that classification source is preselected according to the
          DefaultClassificationSource system preference
        - Verify that the itemtype is preselected according to 942$c in
          the bibliographic record
        - Verify all mandatory fields can be set to empty
        - Verify that you can't save before correctly setting them
      - Change the 942$c in the record to empty
      - Add another item
        - Verify the itemtype is now empty
      - Change your frameworks and set a default for itemtype (Ex: BK)
      - Repeat default check with another pull down like collection or location
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    We do not want empty values for branches (holdingbranch and homebranch
    must be mandatory, see bug 21011)
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 003a4439802bc4053ed9e5db7719434256788b29)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit f8f6c0490f3e21f661bad5734f330b914ea4817b)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit 7b5968612d251c0a40e06f4bed1a99fa951d2b23
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Wed Dec 13 13:27:36 2017 +0000

    Bug 18947: LDAP - do not assume anonymous bind if no user or password
    
    To test:
    Ideally tested on a working ldap server with bind by auth and no
    anonymous bind
    1  - Define an LDAP config with bind by auth
    2  - Don't define user/pass
    3  - Define anonymous_bind = 0
    4  - Attempt bind by auth
    5  - Error is something like:
    LDAP search failed to return object : XXXXXXXXX: LdapErr: XXXX-XXXXXX,
         comment: In order to perform this operation a successful bind must
         be completed on the connection., data 0, v2580 at
         /usr/share/koha/lib/C4/Auth_with_ldap.pm line 102.
    6  - Define user/pass
    7  - Now bind by auth should work
    8  - remove user/pass
    9  - Apply patch
    10 - Attempt again
    11 - Bind by auth shoudl succeed
    
    prove -v t/db_dependent/Auth_with_ldap.t
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 8eed0466381435a0426fe9c2ea75fa295d906533)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 2cb4bbd8baba9df1177fb965619df0328263541f)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit bff9e80adfa7692963a564c5c35c507d81e1f34b
Author: Nick Clemens <nick at bywatersolutions.com>
Date:   Wed Jan 17 19:50:31 2018 +0000

    Bug 20014: Preselect item budget based on id not code
    
    To test:
    1 - Have the same fund code in two budgets
    2 - Have budget code defined in MarcItemFieldsToOrder
    3 - Stage a file with some order items as defined above
    4 - Inspect the fuinds drop down in the item, notice two lines are
    marked selected
    5 - Apply patch
    6 - Repeat
    7 - Only one field should be selected, with a preference for active
    budget
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit d1890533c8796873149338831c5de13d5b19cb9e)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 41b67901d2a6f46452d590916a0cb57f29a69496)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 C4/Auth_with_ldap.pm                               |    9 ++--
 Koha/SearchEngine/Elasticsearch/QueryBuilder.pm    |    2 +-
 acqui/addorderiso2709.pl                           |    9 +++-
 cataloguing/addbiblio.pl                           |   11 ++--
 cataloguing/additem.pl                             |    6 +--
 .../prog/en/modules/acqui/addorderiso2709.tt       |    2 +-
 misc/cronjobs/check-url-quick.pl                   |    2 +
 misc/migration_tools/bulkmarcimport.pl             |   13 +++--
 opac/tracklinks.pl                                 |    5 +-
 patroncards/create-pdf.pl                          |   57 +++++++++++---------
 t/db_dependent/Auth_with_ldap.t                    |   25 +++++++--
 .../Koha_SearchEngine_Elasticsearch_Search.t       |    6 ++-
 12 files changed, 92 insertions(+), 55 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list