22 Jun
2026
22 Jun
'26
11:40 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404 --- Comment #25 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 200844 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200844&action=edit Bug 42404: (follow-up) Ensure upload file is cleaned up on unexpected exception The upload variable was declared inside the outer try block, making it invisible to any cleanup code after the try/catch. Move the declaration outside the try so a guard after the try/catch can delete the upload if an unexpected exception fired before the normal cleanup path ran. -- You are receiving this mail because: You are watching all bug changes.