eclipse-ee4j / eclipse-ee4j/jersey
rep23xxxx which is created for @FormDataParam("upload") File file is getting with 0kb
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
```
@POST
@Path("/files/content")
@Consumes({MediaType.MULTIPART_FORM_DATA})
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
@SecurityLevel(value = "ADD_DOCUMENT_ACCESS{verifyDocumentModuleIsEnable=true,verifyActiveSite=true}")
@AuditTypeAlias(value = "ADD_FILE")
public Response insertDocument(@FormDataParam("file") File file, @FormDataParam("file") FormDataContentDisposition fileDetail,
// my stuff
```
i can see MIMExxxxx.tmp which jersey create for multipart request with the correct size in tocat temp but
Second rep23xxxx which is created for @FormDataParam("upload") File file is getting with 0kb
so i'm not able to upload.
I have trying with Jersey 2.2
It works fine for me with Jersey 1.7
can u please help me in this
Contributor guide
Assessment
This issue has not been assessed yet.