[jira] [Updated] (OFBIZ-12211) addImageForProduct fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-12211) addImageForProduct fails

ASF subversion and git services (Jira)

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

Jacques Le Roux updated OFBIZ-12211:
------------------------------------
    Fix Version/s:     (was: Release Branch 17.12)
                   17.12.07

> addImageForProduct fails
> ------------------------
>
>                 Key: OFBIZ-12211
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12211
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product/catalog
>    Affects Versions: 18.12.01, Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 18.12.01, 17.12.07
>
>
> At catalog/control/addImageForProduct you get this error (the R17 branch is not concerned):
> The Following Errors Occurred:
>  Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error (org.apache.ofbiz.service.ExecutionServiceException: Service [createContentAssoc] Failed (null))
> In log (relevant parts):
> {noformat}
> 2021-03-28 12:57:56,829 |jsse-nio-8443-exec-9 |UtilProperties                |I| ResourceBundle ServiceErrorUiLabels (en) created in 0.05s with 40 properties
> 2021-03-28 12:57:56,829 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Incoming context (in runSync : updateContent) does not match expected requirements
> org.apache.ofbiz.service.ServiceValidationException: The following required parameter is missing: [updateContent.contentId]
>         at org.apache.ofbiz.service.ModelService.validate(ModelService.java:1194) ~[main/:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:403) [main/:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) [main/:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93) [main/:?]
>         at org.apache.ofbiz.product.imagemanagement.ImageManagementServices.createContentAndDataResource(ImageManagementServices.java:476) [main/:?]
>         at org.apache.ofbiz.product.imagemanagement.ImageManagementServices.addMultipleuploadForProduct(ImageManagementServices.java:225) [main/:?]
> [...]
> 2021-03-28 12:57:56,846 |jsse-nio-8443-exec-9 |ServiceUtil                   |E| {errorMessage=The following required parameter is missing: [updateContent.contentId], responseMessage=error}
> [...]
> 2021-03-28 12:57:56,926 |jsse-nio-8443-exec-9 |ImageManagementServices       |E| null
> org.apache.ofbiz.service.GenericServiceException: Service [createContentAssoc] Failed (null)
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:563) ~[main/:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) ~[main/:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93) ~[main/:?]
>         at org.apache.ofbiz.product.imagemanagement.ImageManagementServices.addMultipleuploadForProduct(ImageManagementServices.java:234) [main/:?]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_202]
> [...]
> 2021-03-28 12:57:56,927 |jsse-nio-8443-exec-9 |ServiceUtil                   |E| {errorMessage=Service [createContentAssoc] Failed (null), responseMessage=error}
> 2021-03-28 12:57:56,928 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [addMultipleuploadForProduct]: Service [createContentAssoc] Failed (null)
> 2021-03-28 12:57:56,928 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
> 2021-03-28 12:57:56,928 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [catalog/addMultipleuploadForProduct] finished in [8207] milliseconds
> 2021-03-28 12:57:56,951 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'catalog / multipleUploadProductImages'
> 2021-03-28 12:57:57,012 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rolled back
> 2021-03-28 12:57:57,013 |jsse-nio-8443-exec-9 |TransactionUtil               |W| Not committing transaction, status is No Transaction (6)
> 2021-03-28 12:57:57,013 |jsse-nio-8443-exec-9 |ServiceEventHandler           |E| Service invocation error
> org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [uploadProductImages] in Groovy file [component://product/groovyScripts/product/imagemanagement/ImageManagementServices.groovy]:  (org.apache.ofbiz.service.Exe
> cutionServiceException: Service [createContentAssoc] Failed (null))
> [...]
> Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.service.ExecutionServiceException: Service [createContentAssoc] Failed (null)
> {noformat}



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