[koha-commits] main Koha release repository branch new/bug_9122 created. v3.08.00-1267-gab159bd

Git repo owner gitmaster at git.koha-community.org
Fri Nov 23 15:12:36 CET 2012


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_9122 has been created
        at  ab159bd8a2eecc3e602343fbeb37b97f79998be1 (commit)

- Log -----------------------------------------------------------------
commit ab159bd8a2eecc3e602343fbeb37b97f79998be1
Author: Paul Poulain <paul.poulain at biblibre.com>
Date:   Fri Nov 23 14:32:42 2012 +0100

    Bug 9122: fix the problem when writing-off a fine
    
    The problem was introduced by the addition of accountlines_id in bug 7671
    
    The WriteOffFee sub was called with accountlines_id as second parameter
    but still dealing with the accountno column.
    
    As a result, the UPDATE was failing (updating nothing), and the fine
    note written off even if the writeoff itself was saved. In other words:
    the writeoff was not "attached" to the fine.
    
    This patch fixes the problem.
    
    Test plan: do what katrin says in initial description of the problem:
    - add some fines manually, I did 'new card' and sundry
    - try writing off all of them or one of them
    - the fine is correctly written off
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Passed-QA-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list