[Koha-bugs] [Bug 7138] New: Can't print basket group order pdf.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 1 22:33:06 CET 2011


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

             Bug #: 7138
           Summary: Can't print basket group order pdf.
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Acquisitions
        AssignedTo: henridamien at koha-fr.org
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org


When trying to print a basket group as a pdf file, an invalid pdf file is
returned.

The returned file contains this error :
Undefined subroutine &main::printpdf called at
/home/koha/kohagit/acqui/basketgroup.pl line 275.

The problem seems to happen because pdfformat::layout3pages doesn't load
correctly on line 190 of basketgroup.pl. It's in an eval and the warnings are
ignored.

A possible way to fix the problem would be to put require and import inside of
evals :

eval "require $pdfformat";
eval "import $pdfformat";

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