[ https://issues.apache.org/jira/browse/CXF-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lef updated CXF-8922: --------------------- Priority: Minor (was: Major) > @Multipart for type java.lang.Integer returning null > ---------------------------------------------------- > > Key: CXF-8922 > URL: https://issues.apache.org/jira/browse/CXF-8922 > Project: CXF > Issue Type: Bug > Affects Versions: 3.5.5 > Reporter: Lef > Priority: Minor > > In version 3.3.5 this code was working fine (index & total were returned as > Integer) > {code:java} > @Path("/uploadFiles") > @POST > @Consumes({MediaType.MULTIPART_FORM_DATA}) > public void uploadFile(@Context HttpServletRequest httpServletRequest, > @Context HttpServletResponse httpServletResponse, > @Multipart(value = "file", required = false) > Attachment file, > @Multipart(value = "dzchunkindex", required = false) > Integer index, > @Multipart(value = "dztotalchunkcount", required = > false) Integer total, > @QueryParam(value = "path") String path) {code} > after upgrading to 3.5.5 index and total are always returned null. > Changing the type from Integer to String fixes my issue. Is this expected > functionality? -- This message was sent by Atlassian Jira (v8.20.10#820010)