https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23589 --- Comment #9 from Dobrica Pavlinusic <dpavlin@rot13.org> --- (In reply to Theodoros Theodoropoulos from comment #5)
Hi Dobrica,
Thanks for your patch! Indeed it fixes the output. I will try to properly sign it off later.
Having said that, there I'm now at 18.11 and there is another issue (that exists regardless of your patch). The generated pdf file in /tmp/ is proper pdf, the one that gets downloaded when I click discharge is CORRUPTED (has html code appended in the bottom of the pdf file). Did you also have this issue?
You are absolutely right. We indeed emit html (and headers) after pdf. I never noticed this before. This is on 19.05 for me. However, on current master I don't see anything after pdf. I thinks this is difference in configuration and not versions. 19.05 for me (with html junk) is running via plack while my development is plain cgi. Are you also running plack? -- You are receiving this mail because: You are watching all bug changes.