[
https://issues.apache.org/jira/browse/OFBIZ-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085087#comment-17085087 ]
ASF subversion and git services commented on OFBIZ-11597:
---------------------------------------------------------
Commit 9f5ebc48fd5ed32008f087b2eee5b19e455c6df7 in ofbiz-framework's branch refs/heads/release17.12 from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=9f5ebc4 ]
Fixed: Error in uploading very large files, ie >2MB
(OFBIZ-11534)
This was not supposed to be committed, actually (wrong) part of OFBIZ-11597
Fixed: Error in uploading very large files, ie >2MB
(OFBIZ-11534)
There is an issue in uploading large files, I am able to upload files up to 2 GB
successfully but getting an error when trying to upload a file larger than 2GB.
Example -
1. Go to party profile -
https://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin2. Try to create a party content with a file larger than 2 GB
3. Error on console
jleroux:
For a 2GB+ file you need to set Xmx to more than the double of the file size,
eg: gradlew ofbiz -PjvmArgs="-Xms1024M -Xmx5048M"
You then get another small issue (only in log) when redirecting to send the
partyId parameter.
This is because, DiskFileItem is a temporary Object with a null value contained
in "fileItems" attribute. It can't be detected by UtilMisc::makeMapSerializable
and that makes "fileItems" not serializable. So it must be removed from
reqAttrMap.
Thanks: Chandan Khandelwal for report, Michael for suggesting a very large file
to upload
> Error removing an uploaded party content
> ----------------------------------------
>
> Key: OFBIZ-11597
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11597> Project: OFBiz
> Issue Type: Bug
> Reporter: Jacques Le Roux
> Priority: Major
>
> When you try to remove an uploaded party content you get this error:
> {noformat}
> 2020-04-16 14:12:59,297 |jsse-nio-8443-exec-6 |ControlServlet |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request [removePartyContent/viewprofile]; this request does not exist or cannot be called directly.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)