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  113adf68e56b6233b44a2b7a9b5dc60f6c4de0b7 (commit)
      from  8794348ccbb156ddd1ec53702b5afebea1747976 (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 113adf68e56b6233b44a2b7a9b5dc60f6c4de0b7
Author: Jacek Ablewicz <a...@biblos.pk.edu.pl>
Date:   Wed Jun 8 10:46:18 2016 +0200

    Bug 16678: updatedatabase.pl 3.23.00.006 DB upgrade crashes if 
subscription_numberpatterns.numberingmethod contains parentheses
    
    It seems that if subscription_numberpatterns.numberingmethod contains 
parentheses, updatedatabase.pl crashes when running the 3.23.00.006 DB upgrade 
snippet, with the following error:
    
    [Mon Jun 6 09:06:54 2016] updatedatabase.pl: Unmatched ( in regex; marked 
by <-- HERE in m/ ( <-- HERE / at 
/home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 11498.
    
    Steps to reproduce:
    1/ Have a Koha DB version<3.23.00.006
    2/ Create a subscription numbering with parentheses in it:
       ie "Vol. (Month, Year)" with pattern
           Vol. {X} ({Y}, {Z})
    3/ Add some serials using that numbering method so that serialseq is filled 
in DB:
       ie  "Vol. 16 (February, 2015)"
    4/ Run the updatedatabase.pl script either from the cli or just start the 
webinstaller
    5/ The error is produced
    
    To test:
    1/ apply patch
    2/ try to reproduce this issue once again, should be fixed now
    3/ have a look at the code, make sure the changes are consistent
    
    Signed-off-by: Kyle M Hall <k...@bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org>
    Note: I have not tested the patch, but the diff looks good.
    
    Signed-off-by: Kyle M Hall <k...@bywatersolutions.com>

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

Summary of changes:
 installer/data/mysql/updatedatabase.pl |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository
_______________________________________________
koha-commits mailing list
koha-commits@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to