https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34651
Bug ID: 34651
Summary: Searching system preferences - using a bracket (
either ( or ) ) generates an error trace
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: System Administration
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Searching system preferences using just a bracket (either ( or )) generates an
error trace.[1]
Other characters, such as {, !, ;, <, @, #, %, and so on, don't do the same.
Ideally, you should just get search results or a 'No system preferences matched
your search for: XXXX' message.
[1] Error trace:
Unmatched ( in regex; marked by <-- HERE in m/^( <-- HERE $/ at
/kohadevbox/koha/admin/preferences.pl line 201
in
CGI::Compile::ROOT::kohadevbox_koha_admin_preferences_2epl::TransformPrefsToHTML
at /kohadevbox/koha/admin/preferences.pl line 201
198: my $chunk = _get_chunk( $value, %$piece );
199:
200: # No highlighting of inputs yet, but would
be useful
201: $chunk->{'highlighted'} = 1 if (
$searchfield && $name =~ /^$searchfield$/i );
202:
203: if ( $name eq 'Pseudonymization' && !
C4::Context->config('bcrypt_settings')) {
204: push @warnings, 'bcrypt_config_not_set';
Show function arguments
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/