[Bug 33049] New: Breadcrumbs don't appear if you go directly to /cgi-bin/koha/erm/
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33049 Bug ID: 33049 Summary: Breadcrumbs don't appear if you go directly to /cgi-bin/koha/erm/ Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: ERM Assignee: jonathan.druart+koha@gmail.com Reporter: dcook@prosentient.com.au CC: jonathan.druart+koha@gmail.com, jonathan.field@ptfs-europe.com, martin.renvoize@ptfs-europe.com, pedro.amorim@ptfs-europe.com I was just comparing the following links: http://localhost:8081/cgi-bin/koha/erm/ http://localhost:8081/cgi-bin/koha/erm/erm.pl They're actually virtually identical, except that the breadcrumbs list isn't populated in the former link. The console also says the following: vue-router.cjs:39 [Vue Router warn]: No match found for location with path "/cgi-bin/koha/erm/" -- I'm actually a bit surprised that it works at all. In the plack.log, it shows that a GET for /intranet/erm/erm.pl In the Apache logs, it shows a GET for /cgi-bin/koha/erm/ Ah, it's because of a RewriteRule in debian/templates/apache-shared-intranet.conf That seems suboptimal... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33049 --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- /erm/ should return a 404.
That seems suboptimal...
What that? Can you detail? What do you suggest? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33049 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #1)
That seems suboptimal...
What that? Can you detail? What do you suggest?
Maybe I'm wrong. I was thinking that overall we're trying to have fewer critical Koha things in Apache but maybe it doesn't matter. I was thinking it wouldn't be ideal to have to have a rewrite rule for every Vue.js module, but maybe that doesn't matter either. I imagine the RewriteRule is there to handle bookmarks to URLs like: http://localhost:8081/cgi-bin/koha/erm/eholdings/local/titles We could have http://localhost:8081/cgi-bin/koha/erm be the Perl script instead of http://localhost:8081/cgi-bin/koha/erm/erm.pl Looking at https://metacpan.org/dist/Plack/source/lib/Plack/App/CGIBin.pm it looks like it detects Perl scripts using either a file extension of .pl or looking at the shebang. I just tried it out http://localhost:8081/cgi-bin/koha/erm and it works (except for the breadcrumbs of course). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33049 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from David Cook <dcook@prosentient.com.au> --- It looks like this has been fixed -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org