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
Best regards
Markus
On Wed, 24 Sept 2025 at 20:19, Lukasz Lenart<[email protected]> wrote:
śr., 24 wrz 2025 o 11:[email protected]
<[email protected]> napisał(a):
With 7.1.0 I get a new Warning when uploading a file
24-09-2025 11:42:10.9 WARN
org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - There
was a problem attempting to delete uploaded file:
/tmp/upload_3bf9ea74_30c8_4b21_8468_8a174d70b97c_00000000.tmp
Could you check if the file exists after all?
Kind regards
Łukasz
---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]