[Bug 13922] New: MODS Export Broken on Package
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13922 Bug ID: 13922 Summary: MODS Export Broken on Package Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Cataloging Assignee: gmcharlt@gmail.com Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl, oleonard@myacpl.org When trying to export using MODS you will get this error: Software error: Can't locate object method "code" via package "Could not create file parser context for file "/usr/share/koha/intranet/cgi-bin/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl": No such file or directory at /usr/share/koha/opac/cgi-bin/opac/unapi line 207. " (perhaps you forgot to load "Could not create file parser context for file "/usr/share/koha/intranet/cgi-bin/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl": No such file or directory at /usr/share/koha/opac/cgi-bin/opac/unapi line 207. "?) at /usr/share/koha/opac/cgi-bin/opac/unapi line 150. It looks like a path issue. It is looking for: /usr/share/koha/intranet/cgi-bin/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl But the correct path appears to be: /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl The incorrect path does appear to be a mix of package and git paths. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13922 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> --- Okay, I did a little more checking. The bug appears to be in /usr/share/koha/opac/cgi-bin/opac/unapi, line 201. It's concatenating the value of 'intranetdir' with "/koha-tmpl/intranet-tmpl/prog/en/xslt/", which is what is leading to the incorrect path. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13922 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Nicole C. Engard from comment #1)
Okay, I did a little more checking. The bug appears to be in /usr/share/koha/opac/cgi-bin/opac/unapi, line 201. It's concatenating the value of 'intranetdir' with "/koha-tmpl/intranet-tmpl/prog/en/xslt/", which is what is leading to the incorrect path.
There's a function that specifically chooses the correct path. It should use it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13922 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=13469 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- The intranetdir seems to have been removed by 13469 (but pushed before you have reported this bug report). Could you confirm it's still valid? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org