[jira] Commented: (OFBIZ-900) required parameter is missing: [attachUploadToDataResource.mimeTypeId]

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-900-required-parameter-is-missing-attachUploadToDataResource-mimeTypeId-tp180201p180203.html


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

Krzysztof Podejma commented on OFBIZ-900:
-----------------------------------------

ok it works now but I have little sugestion
this combobox with mimetypes is not userfriendly.

there is always parameters._uploadedFile_contentType variable that contains mimetypeid and can be rewritten to mimeTypeId variable
so combobox with this shouldnt be required and used only when you want force to another mimeType.
list with mimetypes is very long and it is hard to upload lot of files beacause of choosing mime for all of them

BTW. Can you tell me how to open uploaded file that is not an image?

> required parameter is missing: [attachUploadToDataResource.mimeTypeId]
> ----------------------------------------------------------------------
>
>                 Key: OFBIZ-900
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-900
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Sub-task
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>         Assigned To: Jacopo Cappellato
>
> The Following Errors Occurred:
>     * Failed to create content: The following required parameter is missing: [attachUploadToDataResource.mimeTypeId]
> got this on uplodaing file.
> Is this parameter required if _uploadedFile_contentType equals mimeTypeId ?
> Regards
> Krzysztof Podejma

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.