Skip to content

Empty List instead of null in List<MultipartFile> files [SPR-16329] #20876

Closed
@spring-projects-issues

Description

@spring-projects-issues

Maciej Zerkowski opened SPR-16329 and commented

This is a followup to the following bug: #20472.

It seems that it's not possible to send null as List<MultipartFile> or MultipartFile[] in @RequestPart(value = "attachments", required = false) List<MultipartFile> files controller's method param. I tried PUT and POST.


Affects: 4.3.13

Issue Links:

Referenced from: commits 8f6d3fe

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions