[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.12-4-g1b114af

Git repo owner gitmaster at git.koha-community.org
Tue Nov 8 10:27:27 CET 2016


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, 3.22.x has been updated
       via  1b114afe899c65831cc6076840940573569c68c3 (commit)
      from  28fc01a612d3e9042c96fe47bd3ea7bd94d2e71f (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 1b114afe899c65831cc6076840940573569c68c3
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Aug 24 11:44:55 2016 +0200

    Bug 16935 - launch export_records.pl with deleted_barcodes param fails
    
    When launching misc/export_records.pl with this command line :
    
     misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/koha.mrc
    
    You get this error message :
    
    DBD::mysql::db selectall_arrayref failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 4 [for Statement " (
                SELECT DISTINCT barcode
                FROM deleteditems
                WHERE deleteditems.biblionumber = ?
            "] at misc/export_records.pl line 189.
    
    This is because of a '(' after 'q|', looks like a typo.
    Also, this patch removes useless var $q.
    
    Test plan :
    - Delete an item with barcode
    - Without patch, run : misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/koha.mrc
    => You get dirty MySQL
    - Without patch, run the same command
    => No error and the file is generated
    
    Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit dbab260afccc04fac8d088839d6017242c818917)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit b57fb0a9b20333ce52536b319342c2dd5021e3da)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 misc/export_records.pl |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list