Provide a FileItem entry in UtilHttp.getMultiPartParameterMap.

(OFBIZ-11346)
This commit is contained in:
Michael Brohl
2020-02-22 11:57:25 +01:00
parent b16fc9baf5
commit f1fba85637
@@ -276,6 +276,7 @@ public final class UtilHttp {
}
}
multiPartMap.put(fieldName, ByteBuffer.wrap(item.get()));
multiPartMap.put("_" + fieldName + "_fileItem", item);
multiPartMap.put("_" + fieldName + "_size", item.getSize());
multiPartMap.put("_" + fieldName + "_fileName", fileName);
multiPartMap.put("_" + fieldName + "_contentType", item.getContentType());