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

Harrison Hawkins <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off
                 CC|                            |[email protected]
                   |                            |t.nz

--- Comment #12 from Harrison Hawkins <[email protected]> ---
Looks like this was signed by Paul Derscheid <[email protected]>
Changed status to signed off.

(In reply to David Cook from comment #11)
> Created attachment 191331 [details] [review]
> Bug 30261: Render opac 404 for opac/tracklinks.pl
> 
> This patch updates C4::Output::output_error to take
> an additional argument which contains an "interface"
> parameter, so that opac/tracklinks.pl can generate
> an OPAC error instead of an Intranet error.
> 
> Test plan:
> 0. Apply patch and koha-plack --restart kohadev
> 1. Go to http://localhost:8081/test.pl
> 2. Note normal Intranet 404 error
> 3. Go to
> http://localhost:8080/cgi-bin/koha/tracklinks.pl?uri=https%3A%2F%2Ftest.
> com&biblionumber=29
> 4. Note normal Opac 404 error
> 4b. For extra points, note that tracklinks.pl returns a 404 instead of a 302
> to the 404.pl page
> 5. Change 'TrackClicks' syspref to "Track"
> 6. Go to
> http://localhost:8080/cgi-bin/koha/tracklinks.pl?uri=https%3A%2F%2Ftest.
> com&biblionumber=29
> 7. Note normal Opac 404 error
> 7b. For extra points, note that tracklinks.pl returns a 404 instead of a 302
> to the 404.pl page
> 8. Rejoice!
> 
> Signed-off-by: Paul Derscheid <[email protected]>
> 
> Passes all tests. No unexpected behaviour could be identified.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to