Bugzilla – Attachment 70749 Details for
Bug 19977
Local Use tab in systempreferences tries to open text editor's temporary files, and die
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19977: Open only .pref files in Local Use tab (sysprefs)
Bug-19977-Open-only-pref-files-in-Local-Use-tab-sy.patch (text/plain), 1.16 KB, created by
Nick Clemens (kidclamp)
on 2018-01-19 14:54:01 UTC
(
hide
)
Description:
Bug 19977: Open only .pref files in Local Use tab (sysprefs)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-01-19 14:54:01 UTC
Size:
1.16 KB
patch
obsolete
>From f3a02b342f1441e07a0111c0a8e97c69a7437987 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 16 Jan 2018 10:20:21 +0100 >Subject: [PATCH] Bug 19977: Open only .pref files in Local Use tab (sysprefs) > >Test plan: >1. Open .../prog/en/modules/admin/preferences/circulation.pref >with vim (check that it creates a .circulation.pref.swp in the same >directory) >2. Go to the "Local Use" tab in admin/systempreferences.pl >3. Confirm that the page works normally > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > admin/systempreferences.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl >index 511d726..6abf38b 100755 >--- a/admin/systempreferences.pl >+++ b/admin/systempreferences.pl >@@ -391,7 +391,7 @@ sub get_prefs_from_files { > '/prog/en/modules/admin/preferences'; > # Get all .pref file names > opendir ( my $fh, $path_pref_en ); >- my @pref_files = grep { /.pref/ } readdir($fh); >+ my @pref_files = grep { /.pref$/ } readdir($fh); > close $fh; > > my @names = (); >-- >2.1.4
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 19977
:
70548
|
70703
| 70749