[koha-commits] main Koha release repository branch new/bug_9499 created. v3.08.00-1723-gf455f0b

Git repo owner gitmaster at git.koha-community.org
Fri Feb 8 01:42:40 CET 2013


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, new/bug_9499 has been created
        at  f455f0b1abe11b5bffc700147f9dc0abab59c476 (commit)

- Log -----------------------------------------------------------------
commit f455f0b1abe11b5bffc700147f9dc0abab59c476
Author: Liz Rea <liz at catalyst.net.nz>
Date:   Mon Jan 28 09:42:32 2013 +1300

    Bug 9499 - --itemscontent= option is undocumented in advanced-notice.pl cronjob + default date should be date_due, not issuedate
    
    To Test:
    
    Set up a borrower to receive due and/or predue notices.
    Define your predue and/or due notice to use <<items.content>>
    Give your borrower an issue that will trigger a notice to be sent
    (Example: Henry Acevedo has checked out a book that will be coming due tomorrow,
    he wants to receive predue notices 1 day in advance)
    
    On the command line, run (your paths may vary, these are mine):
    sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl -c -n
    
    Note that the date listed is the due date, not the issue date.
    
    Then run:
    sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl -c -n --itemscontent=issuedate,title,author,barcode
    
    Note that the date listed is the issue date, not the date due.
    
    Also run
    sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl --help
    
    Should show the help.
    
    sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl --man
    
    Should show the man page version of the help.
    
    sudo env KOHA_CONF=/etc/koha/sites/devlibrary/koha-conf.xml PERL5LIB=/usr/share/koha/lib perl advance_notices.pl
    
    Should show the help. This script requires confirmation before running (-c or nothing is done).
    
    Note that the documentation refers to the --itemscontent= option and now allows --man as well as --help. Also it is a proper POD.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    
    Works as advertised according to the fine test plan.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

commit e2b57c1d6d77494f308522ea143c685b1b9a18cf
Merge: 4b2442d 47cf483
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Thu Feb 7 19:36:24 2013 -0500

    Merge branch 'bug_9034' into 3.12-master

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list