Currently, if you set marcflavour = NORMARC and XSLTDetailsDisplay to use XSLT, you get a nasty error, because there is no NORMARCslim2intranetDetail.xsl: Could not create file parser context for file "/home/magnus/kohanor32/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl": No such file or directory at /home/magnus/kohanor32/C4/XSLT.pm line 174
Created attachment 6543 [details] [review] Proposed patch Adds two files, to enable XSLT for the detail view in the intranet: koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslimUtils.xsl To test: - Set sysprefs: marcflavour = NORMARC and XSLTDetailsDisplay = "using XSLT stylesheet" - Make sure OPACBaseURL is set correctly - Check that detail display looks ok - Check that automatic links for author, subjects etc work - Check that the "Open in new window" link works as expected - Empty the OPACBaseURL syspref and check that "Open in new window" does not display
Created attachment 6553 [details] [review] [SIGNED-OFF] Bug 7309 - Add NORMARCslim2intranetDetail.xsl for detail view in intranet Adds two files, to enable XSLT for the detail view in the intranet: koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslimUtils.xsl To test: - Set sysprefs: marcflavour = NORMARC and XSLTDetailsDisplay = "using XSLT stylesheet" - Make sure OPACBaseURL is set correctly - Check that detail display looks ok - Check that automatic links for author, subjects etc work - Check that the "Open in new window" link works as expected - Empty the OPACBaseURL syspref and check that "Open in new window" does not display Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Great test plan, could reproduce problem and can confirm patch fixes it.
QA comment: specific to normarc, won't break anything if there's a problem with this patch except norvegian setups. Add 2 files, OK prove t/00-valid-xml.t t/00-valid-xml.t .. ok All tests successful. passed QA patch pushed, please test
Works in 3.8