[jira] [Comment Edited] (OFBIZ-10746) Error while uploading file in Ecommerce Profile's File Manager

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

[jira] [Comment Edited] (OFBIZ-10746) Error while uploading file in Ecommerce Profile's File Manager

Nicolas Malin (Jira)

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

Jacques Le Roux edited comment on OFBIZ-10746 at 8/13/20, 2:04 PM:
-------------------------------------------------------------------

Hi Priya,

What makes you think so?

The error I see here is (below) and seems unrelated.

{noformat}
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |W| Calling transaction setRollbackOnly; this stack trace shows where this is happening:
java.lang.Exception: Error in simple-method [Attach an uploaded file to a data resource as LOCAL_FILE [file:/C:/projectsASF/Git/ofbiz-framework/applications/content/minilang/data/DataServices.xml#saveLocalFileDataResource]]: ; [No upload
ed content found in context]
[...]
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [attachUploadToDataResource]: No uploaded content found in context
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [ecommerce/attachUploadToDataResource] finished in [11] milliseconds
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |GroupModel                    |E| Grouped service [attachUploadToDataResource] failed.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [createContentFromUploadedFile]: No uploaded content found in context
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [ecommerce/createContentFromUploadedFile] finished in [451] milliseconds
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |GroupModel                    |E| Grouped service [createContentFromUploadedFile] failed.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [uploadPartyContentFile]: No uploaded content found in context
{noformat}



was (Author: jacques.le.roux):
Hi Priya,

What make you think so?

The error I see here is (below) and seems unrelated.


{noformat}
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |W| Calling transaction setRollbackOnly; this stack trace shows where this is happening:
java.lang.Exception: Error in simple-method [Attach an uploaded file to a data resource as LOCAL_FILE [file:/C:/projectsASF/Git/ofbiz-framework/applications/content/minilang/data/DataServices.xml#saveLocalFileDataResource]]: ; [No upload
ed content found in context]
[...]
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [attachUploadToDataResource]: No uploaded content found in context
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,210 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [ecommerce/attachUploadToDataResource] finished in [11] milliseconds
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |GroupModel                    |E| Grouped service [attachUploadToDataResource] failed.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [createContentFromUploadedFile]: No uploaded content found in context
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |TransactionUtil               |I| Transaction rollback only not set, rollback only is already set.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |T| Sync service [ecommerce/createContentFromUploadedFile] finished in [451] milliseconds
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |GroupModel                    |E| Grouped service [createContentFromUploadedFile] failed.
2020-08-13 15:57:03,211 |jsse-nio-8443-exec-9 |ServiceDispatcher             |E| Error in Service [uploadPartyContentFile]: No uploaded content found in context
{noformat}


> Error while uploading file in Ecommerce Profile's File Manager
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-10746
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10746
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: Aishwary Shrivastava
>            Assignee: Priya Sharma
>            Priority: Major
>         Attachments: ErroUploadingFileOnFileManagerEcommerce.png
>
>
> On uploading File in Ecommerce Profile's File Manager,
> "The following required parameter is missing: [IN] [uploadPartyContentFile.partyContentTypeId]" error is displaying.
>  
> Steps to regenerate the issue:
>  # Open Ecommerce on Ofbiz.
>  # Login with any user.
>  # Go to Profile.
>  # Navigate down to File Manager.
>  # Select Purpose.
>  # Seletct Mime Type
>  # Click upload.
>  



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