Bugzilla – Attachment 42542 Details for
Bug 14655
Cannot checkin without Anonymous Patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14655: Fix wording
PASSED-QA-Bug-14655-Fix-wording.patch (text/plain), 3.43 KB, created by
Katrin Fischer
on 2015-09-14 20:00:29 UTC
(
hide
)
Description:
[PASSED QA] Bug 14655: Fix wording
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-09-14 20:00:29 UTC
Size:
3.43 KB
patch
obsolete
>From a8b04cde1e9c54f6f2349710bb0bde7299ec617a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Sep 2015 13:22:21 +0100 >Subject: [PATCH] [PASSED QA] Bug 14655: Fix wording > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Fixed a missing space after Error: :) >--- > C4/Circulation.pm | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 4ddd75f..db70a95 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2088,7 +2088,7 @@ sub MarkIssueReturned { > # We need to check if the anonymous patron exist, Koha will fail loudly if it does not > # Note that a warning should appear on the about page (System information tab). > $anonymouspatron = C4::Context->preference('AnonymousPatron'); >- die "Fatal error: the patron ($borrowernumber) has requested a privacy on returning item but the AnonymousPatron pref is not set correctly" >+ die "Fatal error: the patron ($borrowernumber) has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or not set correctly." > unless C4::Members::GetMember( borrowernumber => $anonymouspatron ); > } > my $dbh = C4::Context->dbh; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index bde0116..13515b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -590,7 +590,7 @@ No patron matched <span class="ex">[% message %]</span> > <div class="yui-g"> > > [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] >- <div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div> >+ <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div> > [% END %] > > [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 40a3663..aa43b75 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -119,7 +119,7 @@ $(document).ready(function () { > <div class="yui-g"> > > [% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] >- <div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div> >+ <div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div> > [% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] > <div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div> > [% END %] >-- >1.9.1
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 14655
:
41630
|
41631
|
42048
|
42049
|
42517
|
42540
|
42541
| 42542