[Koha-bugs] [Bug 23723] using exit inside eval to stop sending output to browser doesn't work under plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 13:35:38 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23723

Theodoros Theodoropoulos <theod at lib.auth.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--- Comment #11 from Theodoros Theodoropoulos <theod at lib.auth.gr> ---
I used ByWater Solutions' sandboxes because they seem to use Plack (required
for the bug to appear).

Seems to work OK, but QA may complain that there is no test plan for the patch.

Because the bug relates only to code found in discharges, I would propose
something like:

1/ make sure Plack is used in the system
2/ go to System Preferences and set useDischarge: Allow
3/ create a patron (or select a patron) and go to discharges -> generate
discharge
4/ the produced file is not a proper PDF as is contains headers and html code
in the end

5/ Apply patch (restart starman/apache ?)
6/ go to discharges-> generate discharge
7/ the bug is fixed and produced file is proper PDF

(Something similar could be described for opac-discharge)

ByWater Solutions' sandbox sign-off procedure did not change the status to
Signed off... Doing it manually.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list