[Koha-bugs] [Bug 6866] New: Accessing 'additem.pl' with no CGI params causes error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 13 06:03:08 CEST 2011


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

             Bug #: 6866
           Summary: Accessing 'additem.pl' with no CGI params causes error
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Cataloging
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: robin at catalyst.net.nz
         QAContact: koha-bugs at lists.koha-community.org
                CC: ian.walls at bywatersolutions.com


If you access /cgi-bin/koha/cataloguing/additem.pl directly, you get:

Can't call method "fields" on an undefined value at
/mnt/catalyst/koha/C4/Biblio.pm line 2133.

This is in the 'TransformMarcToKoha' function, which is called from additem.pl.
It should probably do something sensible (redirect to the main cataloguing
page?) if there is no record found from the supplied biblionumber.

This can happen, for example, if you change libraries when on the additem page.

-- 
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