Revert "Multi Part Input Parameters not Available in Groovy Event (OFBIZ-5048)"

This reverts commit 832217135a.
This commit is contained in:
Michael Brohl
2020-02-11 21:50:21 +01:00
parent df460fc680
commit ec3dd184d9
@@ -275,7 +275,7 @@ public final class UtilHttp {
fileName = fileName.substring(lastIndex + 1);
}
}
multiPartMap.put(fieldName, item);
multiPartMap.put(fieldName, ByteBuffer.wrap(item.get()));
multiPartMap.put("_" + fieldName + "_size", item.getSize());
multiPartMap.put("_" + fieldName + "_fileName", fileName);
multiPartMap.put("_" + fieldName + "_contentType", item.getContentType());