Bugzilla – Attachment 92102 Details for
Bug 20954
Add ability to set syspref overrides in SIP as we can in Apache
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20954: (QA follow-up) Rename syspref-overrides to syspref_overrides to maintain existing convention
Bug-20954-QA-follow-up-Rename-syspref-overrides-to.patch (text/plain), 2.42 KB, created by
Marcel de Rooy
on 2019-08-09 06:26:22 UTC
(
hide
)
Description:
Bug 20954: (QA follow-up) Rename syspref-overrides to syspref_overrides to maintain existing convention
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-08-09 06:26:22 UTC
Size:
2.42 KB
patch
obsolete
>From 47296d27666748e2ff9e637c5dfbc0386bdbcff6 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 25 Mar 2019 08:20:51 -0400 >Subject: [PATCH] Bug 20954: (QA follow-up) Rename syspref-overrides to > syspref_overrides to maintain existing convention >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/SIP/Sip/MsgType.pm | 8 ++++---- > etc/SIPconfig.xml | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm >index 8f60e70fa9..425ff76552 100644 >--- a/C4/SIP/Sip/MsgType.pm >+++ b/C4/SIP/Sip/MsgType.pm >@@ -336,12 +336,12 @@ sub handle { > foreach my $key ( %ENV ) { > delete $ENV{$key} if index($key, 'OVERRIDE_SYSPREF_') > 0; > } >- foreach my $key ( keys %{ $config->{'syspref-overrides'} } ) { >- $ENV{"OVERRIDE_SYSPREF_$key"} = $config->{'syspref-overrides'}->{$key}; >+ foreach my $key ( keys %{ $config->{'syspref_overrides'} } ) { >+ $ENV{"OVERRIDE_SYSPREF_$key"} = $config->{'syspref_overrides'}->{$key}; > } >- foreach my $key ( keys %{ $server->{account}->{'syspref-overrides'} } ) { >+ foreach my $key ( keys %{ $server->{account}->{'syspref_overrides'} } ) { > $ENV{"OVERRIDE_SYSPREF_$key"} = >- $server->{account}->{'syspref-overrides'}->{$key}; >+ $server->{account}->{'syspref_overrides'}->{$key}; > } > > # >diff --git a/etc/SIPconfig.xml b/etc/SIPconfig.xml >index 687e6bb27c..ece246651a 100644 >--- a/etc/SIPconfig.xml >+++ b/etc/SIPconfig.xml >@@ -61,9 +61,9 @@ > <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" /> > <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" /> > <patron_attribute field="XY" code="CODE" /> >- <syspref-overrides> >+ <syspref_overrides> > <AllFinesNeedOverride>0</AllFinesNeedOverride> >- </syspref-overrides> >+ </syspref_overrides> > </login> > </accounts> > >@@ -109,8 +109,8 @@ in our case "ILS". > If the same system preference is overridden at the login level, the login > version will take precedence. > --> >-<syspref-overrides> >+<syspref_overrides> > <AllFinesNeedOverride>0</AllFinesNeedOverride> >-</syspref-overrides> >+</syspref_overrides> > > </acsconfig> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20954
:
76098
|
76103
|
86832
|
86971
|
92101
| 92102