ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10746) Error while uploading file in Ecommerce Profile's File Manager
Date Fri, 01 May 2020 08:00:00 GMT

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

Jacques Le Roux commented on OFBIZ-10746:

We should rather use the patch I provided in the comment above. I think this is wrong:

<label class="custom-file mr-2">
<input type="file" name="uploadedFile" class="custom-file-input"/>
<label class="custom-file-label" for="customFile">Choose file</label>

Maybe {{<label class="custom-file mr-2">}} is OK (instead of div) but there is no "id"
for the 1st imput and even if "name" is enough the "for" name is not correct (should be uploadedFile)

I tried to replace by the same UI than in party profile page (w/o role) but I get the same
error. So it's not only an UI issue but something misses since the 2 requests are similar,
both call the uploadPartyContentFile event.

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

View raw message