Bugzilla – Attachment 102758 Details for
Bug 25109
Add execution locking to Koha::Script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25109: Add entry in about.pl about the configuration lockdir entry
Bug-25109-Add-entry-in-aboutpl-about-the-configura.patch (text/plain), 1.82 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-04-10 22:40:49 UTC
(
hide
)
Description:
Bug 25109: Add entry in about.pl about the configuration lockdir entry
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-04-10 22:40:49 UTC
Size:
1.82 KB
patch
obsolete
>From 0e5a4a47924ce7778e96144aae8a2ba257e880ce Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 10 Apr 2020 19:36:41 -0300 >Subject: [PATCH] Bug 25109: Add entry in about.pl about the configuration > lockdir entry > >--- > about.pl | 6 ++++++ > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 +++++++ > 2 files changed, 13 insertions(+) > >diff --git a/about.pl b/about.pl >index f0ae48de97..85e55cb0c0 100755 >--- a/about.pl >+++ b/about.pl >@@ -209,6 +209,12 @@ if ( ! defined C4::Context->config('log4perl_conf') ) { > } > } > >+if ( ! defined C4::Context->config('lockdir') ) { >+ push @xml_config_warnings, { >+ error => 'lockdir_entry_missing' >+ } >+} >+ > if ( ! defined C4::Context->config('upload_path') ) { > if ( Koha::Config::SysPrefs->find('OPACBaseURL')->value ) { > # OPACBaseURL seems to be set >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index ef60aed2b7..341a618232 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -359,6 +359,13 @@ > add it, pointing to the log4perl.conf file for your Koha instance. > </td> > </tr> >+ [% ELSIF config_entry.error == 'lockdir_entry_missing' %] >+ <tr> >+ <th scope="row"><b>Warning</b></th> >+ <td>You are missing the <lockdir> entry in your koha-conf.xml file. Please >+ add it, pointing to your Koha instance's lock dir. >+ </td> >+ </tr> > [% ELSIF config_entry.error == 'uploadpath_entry_missing' %] > <tr> > <th scope="row"><b>Warning</b></th> >-- >2.26.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 25109
:
102757
|
102758
|
102759
|
102760
|
102761
|
102762
|
102814
|
102815
|
102816
|
102817
|
102840
|
102841
|
102842
|
102843
|
102856
|
102887
|
102904
|
102905
|
102906
|
102907
|
102908
|
102909