[koha-commits] main Koha release repository branch 18.11.x updated. v18.11.01-13-g25a22f2

Git repo owner gitmaster at git.koha-community.org
Mon Jan 7 16:25:57 CET 2019


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, 18.11.x has been updated
       via  25a22f2e639d368cff4813043130e29e53ab6940 (commit)
       via  86c2e32296432dfed63cf2ad2e9aa4cf3f1745fc (commit)
       via  52c696006cc40ab6e38734f7cf255e614f8c92ce (commit)
       via  5cc46f9b9cb196c0d242c8c5a08cb88da7c5bd95 (commit)
       via  c24fded0f973782e1e706cde17fa30aa80219fa7 (commit)
       via  336fedc15dc1ec0e826388abaa317ceaaac16614 (commit)
      from  1d9b0fa57efd9a7215b38e5f5b7d30fba788caa6 (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 25a22f2e639d368cff4813043130e29e53ab6940
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Dec 5 18:17:14 2018 -0300

    Bug 21928: (bug 18789 follow-up) Fix CircAutoPrintQuickSlip=clear
    
    caused by commit 105b3e10e8b31b7de6d733e676c3e661a39b1280
    
    bug 18789
    
    To recreate:
    1 - Set CircAutoPrintQuickSlip to 'clear'
    2 - Bring up a patron in circulation
    3 - Click in checkout box and hit enter to submit empty
    4 - Patron is partially loaded
    5 - Apply patch
    6 - Restart all the things
    7 - Test again
    8 - Patron is cleared correctly
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit a440f6a4102f73073c76a31ad2d015be2af8ef48)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 86c2e32296432dfed63cf2ad2e9aa4cf3f1745fc
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Nov 29 12:15:33 2018 -0300

    Bug 21909: Add return type explanation to POD
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 94bdfc2beee9da1ed3b8159e211272a42d01e4fa)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 52c696006cc40ab6e38734f7cf255e614f8c92ce
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Nov 29 12:10:21 2018 -0300

    Bug 21909: Make Koha::Account::outstanding_* preserve context
    
    This patch modifies the methods so they preserve the caller's context
    (list and scalar).
    
    To test:
    - Apply the first patch
    - Run:
      $ kshell
     k$ prove t/db_dependent/Koha/Account.t
    => FAIL: outstanding_credits and outstanding_debits tests fail
    - Apply this patch
    - Run:
     k$ prove t/db_dependent/Koha/Account.t
    => SUCCESS: We are so happy now :-D
    - Sign off :-D
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit d3ff671f215398ad51a6ce550c33c0c6ca3aa30a)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 5cc46f9b9cb196c0d242c8c5a08cb88da7c5bd95
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Thu Nov 29 12:08:03 2018 -0300

    Bug 21909: Unit tests
    
    This patch introduces regression tests for the behaviour to be
    introduced. Both outstanding_credits and outstanding_debits methods
    should return a Koha::Account::Lines object in scalar context, and a
    list of Koha::Account::Line objects in list context.
    
    To test:
    - Apply this patch
    - Run
      $ kshell
     k$ prove t/db_dependent/Koha/Account.t
    => FAIL: The current behaviour doesn't match the described
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 85c474e59761e2bb27d9921180752249b5edca9e)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c24fded0f973782e1e706cde17fa30aa80219fa7
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Dec 11 12:28:53 2018 -0300

    Bug 21817: Fix 2 failing tests
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 8748d801099e1c4e4f8f845a69d1cdba4a21e7aa)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 336fedc15dc1ec0e826388abaa317ceaaac16614
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Nov 12 18:21:58 2018 -0300

    Bug 21817: Centralize the mock of userenv from tests
    
    This patch adds a new method mock_userenv from t::lib::Mocks in order to
    simplify the mock of the userenv.
    
    Test plan:
    prove all the test files modified by this patch
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit ca124b5c14a3f0a34fafe307fec9ade4008eaa41)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 Koha/Account.pm                                    |   18 ++++--
 circ/circulation.pl                                |    1 +
 t/Budgets/CanUserModifyBudget.t                    |   18 ++----
 t/Budgets/CanUserUseBudget.t                       |   13 +----
 t/Circulation_barcodedecode.t                      |    4 +-
 t/db_dependent/Acquisition/NewOrder.t              |   10 ++--
 t/db_dependent/ArticleRequests.t                   |   16 +-----
 t/db_dependent/Bookseller.t                        |    6 +-
 t/db_dependent/Budgets.t                           |   18 +++---
 t/db_dependent/Circulation.t                       |    5 +-
 t/db_dependent/Circulation/IsItemIssued.t          |   10 +---
 .../Circulation/IssuingRules/maxsuspensiondays.t   |   10 +---
 t/db_dependent/Circulation/MarkIssueReturned.t     |    3 +-
 t/db_dependent/Circulation/SwitchOnSiteCheckouts.t |    3 +-
 t/db_dependent/Circulation/TooMany.t               |    4 +-
 t/db_dependent/Circulation/issue.t                 |   31 ++++------
 t/db_dependent/DecreaseLoanHighHolds.t             |    4 +-
 .../Holds/DisallowHoldIfItemsAvailable.t           |    4 +-
 t/db_dependent/Holds/RevertWaitingStatus.t         |    8 +--
 t/db_dependent/Koha/Account.t                      |   20 +++++--
 t/db_dependent/Koha/Items.t                        |    3 +-
 t/db_dependent/Koha/Object.t                       |    5 +-
 t/db_dependent/Koha/Patron/Modifications.t         |   15 +----
 t/db_dependent/Koha/Patrons.t                      |   59 ++++++--------------
 t/db_dependent/Koha/Reviews.t                      |   14 +----
 t/db_dependent/Labels/t_Label.t                    |    3 +-
 t/db_dependent/Letters.t                           |   18 ++----
 t/db_dependent/Letters/TemplateToolkit.t           |    4 +-
 t/db_dependent/MarcModificationTemplates.t         |   20 +------
 t/db_dependent/Members.t                           |   19 +------
 t/db_dependent/Members/Attributes.t                |    6 +-
 t/db_dependent/Patron/Borrower_Discharge.t         |   18 ++----
 t/db_dependent/Patron/Borrower_PrevCheckout.t      |    8 +--
 t/db_dependent/PatronLists.t                       |    4 +-
 t/db_dependent/Reserves.t                          |    4 +-
 t/db_dependent/Template/Plugin/Branches.t          |    3 +-
 t/db_dependent/Utils/Datatables_Members.t          |   14 +----
 t/db_dependent/Utils/Datatables_Virtualshelves.t   |    8 ++-
 t/db_dependent/rollingloans.t                      |    4 +-
 t/lib/Mocks.pm                                     |   25 +++++++++
 40 files changed, 162 insertions(+), 298 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list