[Koha-bugs] [Bug 17989] Stricter control on source directory for html templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 07:56:52 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17989

--- Comment #25 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 68654
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68654&action=edit
Bug 17989: (QA follow-up) Replace bad dots in SuggestionEngine_ExplodedTerms.t

SuggestionEngine_ExplodedTerms.t uses paths like /../.. or /.. in order
to find a template in opac-tmpl.
Sub badtemplatecheck does not like these paths.
Using Cwd::abs_path to resolve the situation (rel2abs does not).

Test plan:
Run again t/db_dependent/SuggestionEngine_ExplodedTerms.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list