[Koha-bugs] [Bug 4886] New: missing 404 redirection on wrong biblionumber for MARC and ISBD details

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 10 19:07:58 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4886

           Summary: missing 404 redirection on wrong biblionumber for MARC
                    and ISBD details
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: OPAC
        AssignedTo: oleonard at myacpl.org
        ReportedBy: fridolyn.somers at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


opac-details.pl contains a redirection to 404 page when biblionumber (parameter
of URL) doesn't correspond to a record :

my $record = GetMarcBiblio($biblionumber);
if ( ! $record ) {
    print $query->redirect("/cgi-bin/koha/errors/404.pl");
    exit;
}

This code is missing in opac-MARCdetails.pl and opac-ISBDdetails.pl.

Tested on 3.2 alpha 2 UNIMARC.

Regards,

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list