[koha-commits] main Koha release repository branch master updated. v3.18.00-713-g1c88c81
Git repo owner
gitmaster at git.koha-community.org
Tue Apr 21 18:55:10 CEST 2015
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 1c88c819a453113dc36f08f5d9c50d4a890346db (commit)
via 65cb0f5be636a15387a3996c32da051d4114719e (commit)
from 62ec79a4fdf20c9d351baffced64152d70420cd7 (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 1c88c819a453113dc36f08f5d9c50d4a890346db
Author: Tomas Cohen Arazi <tomascohen at gmail.com>
Date: Tue Apr 21 13:47:34 2015 -0300
Bug 13998: (RM followup) tests expect data on the database
This patch makes t/db_dependent/Ratings.t create its own biblio
instead of using a hardcoded '1' fr the biblionubmer.
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
commit 65cb0f5be636a15387a3996c32da051d4114719e
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date: Tue Apr 14 13:45:14 2015 +0200
Bug 10131: Add a fallback if the pref search is not a valid regex
It's possible to search prefs using a regex.
But it the regex is not correctly written, the app explodes.
We should provide a fallback.
Test plan:
0/ Does not apply the patch
1/ Search for sysprefs with "notes.*", note the number of results
2/ Search for *notes*, boom
3/ Apply the patch
4/ Repeat 1 and confirm you get the same number of results
5/ Repeat 2 and confirm you don't get the error anymore
NOTE: As noted on comment #4, the kaboom is because of the
leading * and not the following *, because 's*' is a valid
regular expression, while '*n' is not.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
-----------------------------------------------------------------------
Summary of changes:
admin/preferences.pl | 10 +++++++++-
t/db_dependent/Ratings.t | 43 ++++++++++++++++++++++++++++++++-----------
2 files changed, 41 insertions(+), 12 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list