Bugzilla – Attachment 49692 Details for
Bug 16174
Problems in icondirectories.t and tt_valid.t due to bug 15527
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16174: Warning in tt_valid.t due to bug 15527
Bug-16174-Warning-in-ttvalidt-due-to-bug-15527.patch (text/plain), 1.21 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-03-30 18:18:36 UTC
(
hide
)
Description:
Bug 16174: Warning in tt_valid.t due to bug 15527
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-03-30 18:18:36 UTC
Size:
1.21 KB
patch
obsolete
>From 4a09a22204c90e8d8110b199501f52ab4fb0d8e9 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >Date: Wed, 30 Mar 2016 15:15:02 -0300 >Subject: [PATCH] Bug 16174: Warning in tt_valid.t due to bug 15527 > >Bug 15527 introduced a new directory (xslt) on the top level OPAC templates >directory. The tt_valid.t script should include that top level dir on the list >of excluded dirs so it doesn't look for themes there. > >To test: >- Run > $ prove xt/tt_valid.t >=> FAIL: You get the following warning: >Can't stat koha-tmpl/opac-tmpl/xslt/en: No such file or directory > at xt/tt_valid.t line 8 >- Apply the patch >- Run > $ prove xt/tt_valid.t >=> SUCCESS: Tests pass and don't raise warnings. >--- > xt/tt_valid.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/xt/tt_valid.t b/xt/tt_valid.t >index 4e5174b..7285019 100755 >--- a/xt/tt_valid.t >+++ b/xt/tt_valid.t >@@ -28,7 +28,7 @@ my @themes; > # OPAC themes > my $opac_dir = 'koha-tmpl/opac-tmpl'; > opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!"; >-for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) { >+for my $theme ( grep { not /^\.|lib|js|xslt/ } readdir($dh) ) { > push @themes, "$opac_dir/$theme/en"; > } > close $dh; >-- >2.7.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 16174
:
49692
|
49693
|
49702
|
49703
|
49737
|
49757
|
49777
|
49778
|
49779