On _EAP 7.1.5 _ the application attached is getting an empty list of files in [i.] when a file is uploaded with the SSO enabled.
i. com.stva.chtitwebapp.web.internal.MultipartMap
public class MultipartMap extends HashMap<String, Object> { /** * Global constructor. */ private MultipartMap(HttpServletRequest multipartRequest, String location, boolean multipartConfigured) throws ServletException, IOException { multipartRequest.setAttribute(ATTRIBUTE_NAME, this); this.encoding = multipartRequest.getCharacterEncoding(); if (this.encoding == null) { multipartRequest.setCharacterEncoding(this.encoding = DEFAULT_ENCODING); } this.location = location; this.multipartConfigured = multipartConfigured; for (Part part : multipartRequest.getParts()) { // ======> multipartRequest.getParts() is an empty list String filename = getFilename(part); if (filename == null) { processTextPart(part); } else if (!filename.isEmpty()) { processFilePart(part, filename); } } } }
Attached two logs:
- SSO-disabled.txt - TRACE with SSO disabled
- SSO-enabled.txt - TRACE with SSO enabled
Some libraries from _ io.undertow are_ not loaded during the file upload when the SSO is enabled and the logs shows:
- SSO enabled shows:
10:20:14,656 INFO [stdout] (default task-9) File: null
- SSO disabled shows:
14:05:51,833 INFO [stdout] (default task-3) File: /tmp/upload/Kotak_1351265510350343094.PNG
- is cloned by
-
JBEAP-16188 [GSS](7.2.z) ELYWEB-36 - File UploadMultipart does not work when SSO is enabled
- Closed
- is incorporated by
-
JBEAP-16188 [GSS](7.2.z) ELYWEB-36 - File UploadMultipart does not work when SSO is enabled
- Closed