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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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