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

Alex Arnaud <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9893|0                           |1
        is obsolete|                            |

--- Comment #4 from Alex Arnaud <[email protected]> ---
Created attachment 10042
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10042&action=edit
[Signed-off] Bug 7952 - PDF::Reuse under plack writes to console STDOUT instead
to browser

Without name option to prFile, PDF::Reuse opens '-' file which is real
console STDOUT on plack so pdf file gets emited to terminal instead of
sending it to browser.

This change creates temporary file using File::Temp, pass it to PDF::Reuse
and then reads it back and prints it out for plack (or CGI) to pick up.

DEBUG=1 it will debugging output

Test secenario:

1. Home › Tools › Patron Card Creator › Manage Card Batches
2. select batch checkbox and click Export
3. select template and click Export
4. click on pdf file to download it

Signed-off-by: Alex Arnaud <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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