You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Temporary files created by file upload should be deleted on Windows
Actual Behaviour
On Windows 10 (it works fine on Linux), the temporary file created by a file upload is not deleted, increasing the disk size.
Moreover, a warning is issued:
Steps To Reproduce
The endpoint where we upload the file is the following:
@ExecuteOn(TaskExecutors.IO)
@Post(uri = "/{namespace}/{id}", consumes = MediaType.MULTIPART_FORM_DATA)
publicExecutioncreate(
@Parameter(description = "The inputs") HttpRequest<?> inputs,
@Parameter(description = "The inputs of type file") @Nullable@PartPublisher<StreamingFileUpload> files
) throwsIOException {
}
Expected Behavior
Temporary files created by file upload should be deleted on Windows
Actual Behaviour
On Windows 10 (it works fine on Linux), the temporary file created by a file upload is not deleted, increasing the disk size.
Moreover, a warning is issued:
Steps To Reproduce
The endpoint where we upload the file is the following:
The files are process like that:
Environment Information
Example Application
No response
Version
4.3.4
The text was updated successfully, but these errors were encountered: