Re: [TEST] Apache Struts 7.1.0 test build is ready [issue with FileUpload to /tmp]
Lukasz Lenart <[email protected]> Thu, 25 Sep 2025 10:33:40 +0200
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkOMzU3Tq9hvdfBaxR1K20ZCxQem_mwsXu7XY07ScZFyiQ@mail.gmail.com> |
śr., 24 wrz 2025 o 13:19 [email protected] <[email protected]> napisał(a): > > Am 24.09.25 um 12:36 schrieb Kusal Kithul-Godage: > > I've the same logging issue. It's occurring within both > > #cleanUpDiskFileItems and #cleanUpTemporaryFiles. The method > > Files#deleteIfExists returns false if the file did not exist, so I > > don't believe there's any need to check the return value and log > > anything in these cases. > > 24-09-2025 13:15:22.9 WARN > org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - There > was a problem attempting to delete uploaded file: > /tmp/upload_f4beefae_8fff_4924_b6ef_d4939842a94a_00000001.tmp > > Indeed, when I do check /tmp after uploading afile, there is no file > upload_f4beefae_8fff_4924_b6ef_d4939842a94a_00000001.tmp Good, I will fix the warning as not needed in this case Cheers Łukasz