[ofbiz-plugins] branch trunk updated: Fixed: Error while uploading file in Ecommerce Profile's File Manager (OFBIZ-10746)

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

[ofbiz-plugins] branch trunk updated: Fixed: Error while uploading file in Ecommerce Profile's File Manager (OFBIZ-10746)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2b6da24  Fixed: Error while uploading file in Ecommerce Profile's File Manager  (OFBIZ-10746)
2b6da24 is described below

commit 2b6da24f7edd8bb0ec973654a6294f7d374c550f
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Feb 21 19:20:05 2021 +0100

    Fixed: Error while uploading file in Ecommerce Profile's File Manager  (OFBIZ-10746)
   
    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.
   
    Thanks: Aishwary Shrivastava for report, Priya Sharma fir the fix
---
 ecommerce/template/customer/ViewProfile.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/template/customer/ViewProfile.ftl b/ecommerce/template/customer/ViewProfile.ftl
index 72a883a..3e85814 100644
--- a/ecommerce/template/customer/ViewProfile.ftl
+++ b/ecommerce/template/customer/ViewProfile.ftl
@@ -466,7 +466,7 @@ under the License.
         <input type="hidden" name="roleTypeId" value="OWNER"/>
         <label class="mr-2">${uiLabelMap.EcommerceUploadNewFile}</label>
         <div class="custom-file mr-2">
-          <input type="file" class="custom-file-input" id="customFile" required/>
+          <input type="file" name="uploadedFile" class="custom-file-input" id="customFile" required/>
           <label class="custom-file-label" for="customFile">Choose file</label>
           <div class="invalid-feedback">Example invalid custom file feedback</div>
         </div>