[jira] [Closed] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread Jacques Le Roux (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-11534.
---
Fix Version/s: Release Branch 17.12
   18.12.01
   Resolution: Fixed

As we are in the process of releasing 17.12.02 I put R17 instead

> Error in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.01, Release Branch 17.12
>
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17085088#comment-17085088
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

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=admin
2. 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 in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11597) Error removing an uploaded party content

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=admin
2. 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)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17085086#comment-17085086
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

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=admin
2. 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 in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084896#comment-17084896
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

Commit 711ca4171547360b55ed182516a05db38674fddf in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=711ca41 ]

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=admin
2. 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 in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11597) Error removing an uploaded party content

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084898#comment-17084898
 ] 

ASF subversion and git services commented on OFBIZ-11597:
-

Commit 51b2b628aebe14ec20e6822cc0a2d8e0957cbdd8 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=51b2b62 ]

Fixed: Error in uploading very large files, ie >2MB

(OFBIZ-11534)

This was not supposed to be committed, actually (wrong) part of OFBIZ-11597


> 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)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084897#comment-17084897
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

Commit 51b2b628aebe14ec20e6822cc0a2d8e0957cbdd8 in ofbiz-framework's branch 
refs/heads/release18.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=51b2b62 ]

Fixed: Error in uploading very large files, ie >2MB

(OFBIZ-11534)

This was not supposed to be committed, actually (wrong) part of OFBIZ-11597


> Error in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OFBIZ-11598) Increase the size of http.upload.max.sizethreshold

2020-04-16 Thread Jacques Le Roux (Jira)
Jacques Le Roux created OFBIZ-11598:
---

 Summary: Increase the size of http.upload.max.sizethreshold 
 Key: OFBIZ-11598
 URL: https://issues.apache.org/jira/browse/OFBIZ-11598
 Project: OFBiz
  Issue Type: Improvement
Reporter: Jacques Le Roux


The http.upload.max.sizethreshold size is curently sets to 10240 (10KB) and 
that seems small nowadays to me. We could use 1MB. Also the size is hardcoded 
in several places. Look for "new DiskFileItemFactory(10240"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084888#comment-17084888
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

Commit 6d3d8f73c2f78a50d7768253a343fbcf00712bd9 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6d3d8f7 ]

Fixed: Error in uploading very large files, ie >2MB

(OFBIZ-11534)

This was not supposed to be committed, actually (wrong) part of OFBIZ-11597


> Error in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11597) Error removing an uploaded party content

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084889#comment-17084889
 ] 

ASF subversion and git services commented on OFBIZ-11597:
-

Commit 6d3d8f73c2f78a50d7768253a343fbcf00712bd9 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6d3d8f7 ]

Fixed: Error in uploading very large files, ie >2MB

(OFBIZ-11534)

This was not supposed to be committed, actually (wrong) part of OFBIZ-11597


> 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)


[jira] [Commented] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084879#comment-17084879
 ] 

ASF subversion and git services commented on OFBIZ-11534:
-

Commit 4725ae68d8f4afa58fa29fdd6bf977b95731b807 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=4725ae6 ]

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=admin
2. 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 in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OFBIZ-11597) Error removing an uploaded party content

2020-04-16 Thread Jacques Le Roux (Jira)
Jacques Le Roux created OFBIZ-11597:
---

 Summary: 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


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)


[jira] [Comment Edited] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084866#comment-17084866
 ] 

Jacques Le Roux edited comment on OFBIZ-11534 at 4/16/20, 1:32 PM:
---

I'll also discuss on dev ML the http.upload.max.sizethreshold size. It's 
curently sets to 10240 (10KB) and that seems small nowadays to me. We could use 
1MB. Also the size is hardcoded in several places.


was (Author: jacques.le.roux):
I'll other discuss on dev ML the http.upload.max.sizethreshold size. It's 
curently sets to 10240 (10KB) and that seems small nowadays to me. We could use 
1MB.

> Error in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OFBIZ-11534) Error in uploading very large files, ie >2MB

2020-04-16 Thread Jacques Le Roux (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-11534:

Summary: Error in uploading very large files, ie >2MB  (was: Error in 
uploading large files )

> Error in uploading very large files, ie >2MB
> 
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading large files

2020-04-16 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084866#comment-17084866
 ] 

Jacques Le Roux commented on OFBIZ-11534:
-

I'll other discuss on dev ML the http.upload.max.sizethreshold size. It's 
curently sets to 10240 (10KB) and that seems small nowadays to me. We could use 
1MB.

> Error in uploading large files 
> ---
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading large files

2020-04-16 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084865#comment-17084865
 ] 

Jacques Le Roux commented on OFBIZ-11534:
-

I had another look. I preferred to keep things as is and simple (KISS way) 
because my patch was possibly raising other issues.

Since we can upload ZIP files, simply converting 
ubuntu-18.04.4-desktop-amd64.iso to ubuntu-18.04.4-desktop-amd64.iso.zip works 
with the code as is. 

But in order to avoid

{noformat}
SEVERE: Failed to complete processing of a request
java.lang.OutOfMemoryError: Java heap space
at 
org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308)
at 
org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:278)
{noformat}

for a 2GB+ file you need to set Xmx to more than at least 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.

{noformat}
2020-04-16 10:58:15,039 |jsse-nio-8443-exec-7 |UtilObject
|E| null
java.io.NotSerializableException: 
org.apache.commons.fileupload.disk.DiskFileItem
at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) 
~[?:1.8.0_202]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) 
~[?:1.8.0_202]
at java.util.ArrayList.writeObject(ArrayList.java:766) ~[?:1.8.0_202]
at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) 
~[?:1.8.0_202]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) 
~[?:1.8.0_202]
at java.util.HashMap.internalWriteEntries(HashMap.java:1793) 
~[?:1.8.0_202]
at java.util.HashMap.writeObject(HashMap.java:1363) ~[?:1.8.0_202]
at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) ~[?:?]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1140) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) 
~[?:1.8.0_202]
at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) 
~[?:1.8.0_202]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) 
~[?:1.8.0_202]
at org.apache.ofbiz.base.util.UtilObject.getBytes(UtilObject.java:47) 
[main/:?]
at 
org.apache.ofbiz.webapp.control.RequestHandler.callRedirect(RequestHandler.java:886)
 [main/:?]
{noformat}

This is because, in this case at least, 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.

I'll soon commit the final change which is quite simple:

{code:java}
 if (reqAttrMap.size() > 0) {
+// fileItems is not serializable.
+// It contains a temporary DiskFileItem with a null value than 
can't be detected by UtilMisc::makeMapSerializable
+// So it must be removed from reqAttrMap. See OFBIZ-11534
+reqAttrMap.remove("fileItems");
 byte[] reqAttrMapBytes = UtilObject.getBytes(reqAttrMap);
{code}

> Error in uploading large files 
> ---
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party 

[jira] [Closed] (OFBIZ-10946) Have a seca to load records in the CustomerDimension

2020-04-16 Thread Pierre Smits (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Smits closed OFBIZ-10946.

Resolution: Won't Do

Won't do due to shift to schedule based update of Dimension data per OFBIZ-11575

> Have a seca to load records in the CustomerDimension
> 
>
> Key: OFBIZ-10946
> URL: https://issues.apache.org/jira/browse/OFBIZ-10946
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: bi
>Affects Versions: Release Branch 16.11, Release Branch 18.12, Release 
> Branch 17.12, Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>Priority: Major
>  Labels: CustomerDimension, birt, customer, dimension, dwh
>
> Depending on OFBIZ-10944.
> The service must be invoked when a party gets the 'Customer' role.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [ofbiz-framework] sonarcloud[bot] removed a comment on issue #66: OFBIZ-11587 docbook to asciidoc, delete docbook files

2020-04-16 Thread GitBox
sonarcloud[bot] removed a comment on issue #66: OFBIZ-11587 docbook to 
asciidoc, delete docbook files
URL: https://github.com/apache/ofbiz-framework/pull/66#issuecomment-613357583
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=66)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=66=duplicated_lines_density=list)
 No Duplication information
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [ofbiz-framework] sonarcloud[bot] commented on issue #66: OFBIZ-11587 docbook to asciidoc, delete docbook files

2020-04-16 Thread GitBox
sonarcloud[bot] commented on issue #66: OFBIZ-11587 docbook to asciidoc, delete 
docbook files
URL: https://github.com/apache/ofbiz-framework/pull/66#issuecomment-614509245
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=66=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=66)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=66=duplicated_lines_density=list)
 No Duplication information
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [ofbiz-framework] sonarcloud[bot] commented on issue #65: OFBIZ-11587 docbook to asciidoc

2020-04-16 Thread GitBox
sonarcloud[bot] commented on issue #65: OFBIZ-11587 docbook to asciidoc
URL: https://github.com/apache/ofbiz-framework/pull/65#issuecomment-614493216
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=65)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=65=duplicated_lines_density=list)
 No Duplication information
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [ofbiz-framework] sonarcloud[bot] removed a comment on issue #65: OFBIZ-11587 docbook to asciidoc

2020-04-16 Thread GitBox
sonarcloud[bot] removed a comment on issue #65: OFBIZ-11587 docbook to asciidoc
URL: https://github.com/apache/ofbiz-framework/pull/65#issuecomment-613356433
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=65=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=65)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=65=duplicated_lines_density=list)
 No Duplication information
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Commented] (OFBIZ-11576) Make initialisation of the DWH more dynamic

2020-04-16 Thread Pierre Smits (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084655#comment-17084655
 ] 

Pierre Smits commented on OFBIZ-11576:
--

Patch available via https://github.com/apache/ofbiz-plugins/pull/11 See 
OFBIZ-11414


> Make initialisation of the DWH more dynamic
> ---
>
> Key: OFBIZ-11576
> URL: https://issues.apache.org/jira/browse/OFBIZ-11576
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: bi
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>Priority: Major
>  Labels: dwh, initialisation, service
>
> Currently initialisation of the dwh is based on fixed parameters (fromDate, 
> thruDate). This should be improved UX-wise.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [ofbiz-plugins] sonarcloud[bot] commented on issue #11: Improved: BI Component (OFBIZ-11414)

2020-04-16 Thread GitBox
sonarcloud[bot] commented on issue #11: Improved: BI Component (OFBIZ-11414)
URL: https://github.com/apache/ofbiz-plugins/pull/11#issuecomment-614484949
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11=new_duplicated_lines_density=list)
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [ofbiz-plugins] sonarcloud[bot] removed a comment on issue #11: Improved: BI Component (OFBIZ-11414)

2020-04-16 Thread GitBox
sonarcloud[bot] removed a comment on issue #11: Improved: BI Component 
(OFBIZ-11414)
URL: https://github.com/apache/ofbiz-plugins/pull/11#issuecomment-606464869
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-plugins=11=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-plugins=11=new_duplicated_lines_density=list)
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Assigned] (OFBIZ-11596) Convert BlogServices.xml mini lang to groovy

2020-04-16 Thread Jira


 [ 
https://issues.apache.org/jira/browse/OFBIZ-11596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wiebke Pätzold reassigned OFBIZ-11596:
--

Assignee: Wiebke Pätzold

> Convert BlogServices.xml mini lang to groovy
> 
>
> Key: OFBIZ-11596
> URL: https://issues.apache.org/jira/browse/OFBIZ-11596
> Project: OFBiz
>  Issue Type: Sub-task
>Reporter: Wiebke Pätzold
>Assignee: Wiebke Pätzold
>Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (OFBIZ-11596) Convert BlogServices.xml mini lang to groovy

2020-04-16 Thread Jira
Wiebke Pätzold created OFBIZ-11596:
--

 Summary: Convert BlogServices.xml mini lang to groovy
 Key: OFBIZ-11596
 URL: https://issues.apache.org/jira/browse/OFBIZ-11596
 Project: OFBiz
  Issue Type: Sub-task
Reporter: Wiebke Pätzold






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11534) Error in uploading large files

2020-04-16 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084614#comment-17084614
 ] 

Jacques Le Roux commented on OFBIZ-11534:
-

I created OFBIZ-11582 for that

> Error in uploading large files 
> ---
>
> Key: OFBIZ-11534
> URL: https://issues.apache.org/jira/browse/OFBIZ-11534
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Chandan Khandelwal
>Assignee: Jacques Le Roux
>Priority: Major
> Attachments: OFBIZ-11534.patch, OFBIZ-11534.patch
>
>
> 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=admin]
> 2. Try to create a party content with a file larger than 2 GB
> 3. Error on console
> 
> java.lang.NegativeArraySizeException: 
> nulljava.lang.NegativeArraySizeException: null at 
> org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) 
> ~[commons-fileupload-1.4.jar:1.4] at 
> org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275)
>  ~[main/:?] at 
> =
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-11413) Convert AccountServices.xml from mini lang to groovy

2020-04-16 Thread Jira


[ 
https://issues.apache.org/jira/browse/OFBIZ-11413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084612#comment-17084612
 ] 

Wiebke Pätzold commented on OFBIZ-11413:


I added serviceDefs for createPartyContactMechs and 
createPartyGroupRoleAndContactMechs.

I also converted createPartyGroupRoleAndContactMechs in PartySimpleMethods 
because it is used in AccountServices and needed another return value. I didn’t 
remove the original createPartyGroupRoleAndContactMechs in 
PartySimpleMethods.xml because it is used as a call simple method in 
LeadServices.

> Convert AccountServices.xml from mini lang to groovy
> 
>
> Key: OFBIZ-11413
> URL: https://issues.apache.org/jira/browse/OFBIZ-11413
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: marketing
>Reporter: Wiebke Pätzold
>Assignee: Wiebke Pätzold
>Priority: Minor
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Migration of the AccountServices.xml to Groovy



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [ofbiz-framework] sonarcloud[bot] commented on issue #71: OFBIZ-11413 Improved Converted AccountServices from mini lang to groovy

2020-04-16 Thread GitBox
sonarcloud[bot] commented on issue #71: OFBIZ-11413 Improved Converted 
AccountServices from mini lang to groovy
URL: https://github.com/apache/ofbiz-framework/pull/71#issuecomment-614460896
 
 
   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=71=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=71)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=71=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=71=new_duplicated_lines_density=list)
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [ofbiz-framework] wpaetzold opened a new pull request #71: OFBIZ-11413 Improved Converted AccountServices from mini lang to groovy

2020-04-16 Thread GitBox
wpaetzold opened a new pull request #71: OFBIZ-11413 Improved Converted 
AccountServices from mini lang to groovy
URL: https://github.com/apache/ofbiz-framework/pull/71
 
 
   (OFBIZ-11413)
   
   Added ServiceDefs createPartyContactMechs and 
createPartyGroupRoleAndContactMechs.
   Also converted createPartyGroupRoleAndContactMechs because it is used in 
AccountServies and needed more return values.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services