[Koha-bugs] [Bug 7111] New: label-print-pdf.pl creates malformed pdf files due to duplicate initialization of PDF::Reuse

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 28 03:04:00 CEST 2011


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

             Bug #: 7111
           Summary: label-print-pdf.pl creates malformed pdf files due to
                    duplicate initialization of PDF::Reuse
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Label printing
        AssignedTo: cnighswonger at foundations.edu
        ReportedBy: dkg at fifthhorseman.net
         QAContact: koha-bugs at lists.koha-community.org


Created attachment 6086
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6086
remove duplicate PDF::Reuse initialization

on koha 3.0.6, labels/label-print-pdf.pl appears to mistakenly initialize
PDF::Reuse twice (by invoking prInitVars() and prFile() in two different
places).

This causes the output pdf file to always be broken (try passing it to pdfinfo
from poppler-utils).

The attached patch should resolve the issue.

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