[koha-commits] main Koha release repository branch master updated. v3.18.00-941-g8853797

Git repo owner gitmaster at git.koha-community.org
Mon May 11 20:46:30 CEST 2015


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, master has been updated
       via  88537974e339f5c576bcb5e32fe6e4fe6248d61c (commit)
       via  164d1f9b8ebb2d1e112507a45a3ad71558bafaed (commit)
      from  20b842e7b0ae1d0378c37ad854532cd1294c574f (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 88537974e339f5c576bcb5e32fe6e4fe6248d61c
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Wed Aug 20 17:05:19 2014 +0200

    Bug 12743: ACQ: default values for catalogue records
    
    At the moment, it is possible to create records in acquisitions, but the
    ACQ framework is only used for items created in this module.
    
    This patch allows to defined default values in the ACQ framework for
    records created on the acquisition module.
    
    Test plan:
    1/ Make sure you have the ACQ framework created (otherwise create it
    from the default framework).
    2/ Define a default value for a field (for instance 099$z=1).
    3/ Go in the acquisition module and create a new order from a new
    record.
    4/ Fill mandatory information and save.
    5/ Go on the detail page of this record and verify the default value
    exist.
    
    Signed-off-by: Gaetan Boisson <gaetan.boisson at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 164d1f9b8ebb2d1e112507a45a3ad71558bafaed
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri May 8 10:08:02 2015 +0200

    Bug 13758: Correct KOHA::VERSION in OverDrive.pm
    
    Correct $KOHA::VERSION to $Koha::VERSION.
    Also, passing this string to LWP::UserAgent is wrong. It expects key/value
    pairs. Since this string is apparently intended as an agent, this patch
    passes it as such.
    Note: The OverDrive has unfortunately no unit tests.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Tested this change in the perl debugger with just these lines:
        use C4::External::OverDrive;
        C4::External::OverDrive::_request();
    Printed $ua->agent while stepping into sub _request.
    Without the agent change, the adjusted Koha string would just be ignored
    and I would still have "libwww-perl/6.04" as agent.
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 C4/Acquisition.pm                                  |   53 ++++++++++++-
 C4/External/OverDrive.pm                           |    2 +-
 acqui/addorder.pl                                  |    2 +
 t/db_dependent/Acquisition/FillWithDefaultValues.t |   79 ++++++++++++++++++++
 4 files changed, 134 insertions(+), 2 deletions(-)
 create mode 100755 t/db_dependent/Acquisition/FillWithDefaultValues.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list