[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-02-13 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Could this be a problem in R18 only?

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
> Attachments: v.jpeg
>
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-02-13 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

I tried with the provided  !v.jpeg!  and got no issues at all on Windows 7 
locally. 

Same on trunk demo as you can see there:
https://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin

I checked the logs in both and found no related issues.

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
> Attachments: v.jpeg
>
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-02-01 Thread Wai (Jira)


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

Wai commented on OFBIZ-12101:
-

The setting for http.upload.max.size=-1 at the time this issue was found.

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
> Attachments: v.jpeg
>
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-02-01 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Hi Wai,

It should not be related to the size of image. I fixed that with OFBIZ-11534. 
It's now possible to load files at least as heavy as 2,5 GB.
Note that, for security reason, with OFBIZ-12080 I changed how files are 
uploaded. The size is OOTB illimited (http.upload.max.size properties in 
general.properties).

I'll have a look when I'll get a chance, any help is apprectiated...

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
> Attachments: v.jpeg
>
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-01-31 Thread Wai (Jira)


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

Wai commented on OFBIZ-12101:
-

I've discovered that when down scaling the image from 105kB to 67kB, then the 
upload works well. This would imply another issue. Is there a limit to the size 
of images that ofbiz can accept?

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
> Fix For: 18.12.01, 17.12.05
>
> Attachments: v.jpeg
>
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2021-01-04 Thread Deepak Dixit (Jira)


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

Deepak Dixit commented on OFBIZ-12101:
--

Can we close this task?

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-29 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Hi Wai,

I tried to reproduce by removing my fix but I don't find the same error message 
than you. Could you please confirm than you can reproduce on the trunk demo? If 
you can still reproduce please give the exact steps you use, TIA.

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Hi Wai,

To release 17.12.05 we need to know if it's OK with you, TIA: 
https://markmail.org/message/b2bhgswyah75xyrx


> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread Ankit Joshi (Jira)


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

Ankit Joshi commented on OFBIZ-12101:
-

Hi [~jleroux],

I've verified the reported issue where the partymgr fails to upload the image 
on the latest 'trunk' codebase and found the workflow working fine with the fix 
that had been provided in 
[OFBIZ-12080|https://issues.apache.org/jira/browse/OFBIZ-12080]. Hene, we could 
close this ticket if no other aspect remains to handle. [~wt]Please confirm.

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Ankit Joshi
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Hi Wai, [~ankit.joshi]

If  there is nothing more to fix, please close, TIA.

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: partymgr fails to upload image (OFBIZ-12101)

This is a bug due to OFBIZ-12080, fileToCheck is the complete name of the file
with path not the filename

Thanks: Wai for report


> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: partymgr fails to upload image (OFBIZ-12101)

This is a bug due to OFBIZ-12080, fileToCheck is the complete name of the file
with path not the filename

Thanks: Wai for report


> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread ASF subversion and git services (Jira)


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

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

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

Fixed: partymgr fails to upload image (OFBIZ-12101)

This is a bug due to OFBIZ-12080, fileToCheck is the complete name of the file
with path not the filename

Thanks: Wai for report


> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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


[jira] [Commented] (OFBIZ-12101) partymgr fails to upload image

2020-12-26 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-12101:
-

Sorry Ankit, I assign to myself because this is a bug due to OFBIZ-12080 and I 
have a fix

> partymgr fails to upload image
> --
>
> Key: OFBIZ-12101
> URL: https://issues.apache.org/jira/browse/OFBIZ-12101
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
> Environment: OS: Ubuntu 20.04
> $ java -version
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
>Reporter: Wai
>Assignee: Jacques Le Roux
>Priority: Major
>
> partymgr fails to upload image
>  
> Steps to reproduce issue:
> open https://localhost:8443/partymgr/control/viewprofile?partyId=admin
> in Party Content panel
>  select image to upload
>  select "Logo Image URL"
> click ok
> console output:
> 2020-12-25 16:24:06,533 |sse-nio-18443-exec-4 |UtilHttp |E| File upload 
> errororg.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
> Processing of multipart/form-data request failed. java.io.EOFException
> 2020-12-25 16:24:06,573 |sse-nio-18443-exec-4 |ModelService |I| Set default 
> value [DOCUMENT] for parameter [contentTypeId]
> 2020-12-25 16:24:06,661 |sse-nio-18443-exec-4 |UtilProperties |I| 
> ResourceBundle ServiceErrorUiLabels (en) created in 0.087s with 40 properties
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ModelService |E| 
> [ModelService.validate] : \{uploadPartyContentFile} : (IN) Required test 
> error: org.apache.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [IN] 
> [uploadPartyContentFile.partyContentTypeId]
> 2020-12-25 16:24:06,662 |sse-nio-18443-exec-4 |ServiceDispatcher |E| Incoming 
> context (in runSync : uploadPartyContentFile) does not match expected 
> requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required 
> parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]
>  at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1305) 
> ~[main/:?]



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