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

Git repo owner gitmaster at git.koha-community.org
Tue Nov 8 10:23:24 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  a67c666da41915f2da341d700923a4a4f99c30ad (commit)
       via  b80311ae2bb89c98d01b92792a5c345ab8b0cc4a (commit)
      from  3e8a30baaf69d7d98229a9ad739d49aa2dbf7b8c (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 a67c666da41915f2da341d700923a4a4f99c30ad
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 4 11:55:25 2016 +0100

    Bug 17375: Search by dateofbirth - handle invalid dates
    
    Prevent internal software error when searching patron with invalid birth date
    
    To reproduce:
    
    - Go to Home > Patron
    - Expand patron search (click on + at the left of the search button)
    - In drop down 'Search fields', select 'Date of birth'
    - Enter a valid date (e.g. 11.02.1995 if syspref 'dateformat' is set to dmydot)
    Result: Search works OK
    - Enter an invalid date, e.g. 11.02 or abcd...
    Result: Internal server error
    
    - Do a patron search with many results
    - Use filter on results screen, select 'Date of birth' as search field and
      enter an invalid date to search (e.g. 'a')
    Result: Endless message 'Processing'
    
    To test:
    - Apply patch
    - Repeat steps above
    - In both cases, you should get "No results"
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Lucio Moraes <lmoraes at catalyst.net.nz>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 9b34b07d62588713405f31481cb363661b1a5d0c)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 0d9e1667bfc64a3d6dfaefacf304f329549c0bf4)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

commit b80311ae2bb89c98d01b92792a5c345ab8b0cc4a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Oct 4 11:55:02 2016 +0100

    Bug 17375: Search by dateofbirth - Add tests
    
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 12167c57d0608637504a011627a0256e28e515cd)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 41a1796ab19c6aef05d58b75a5c6a32ae9c04c21)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 C4/Utils/DataTables/Members.pm            |   31 +++++++++++++++++++----------
 members/member.pl                         |    4 ----
 svc/members/search                        |    4 ----
 t/db_dependent/Utils/Datatables_Members.t |   23 ++++++++++++++++++---
 4 files changed, 41 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list