OFBiz
  1. OFBiz
  2. OFBIZ-589 Party Content Admin Screens and Service
  3. OFBIZ-900

required parameter is missing: [attachUploadToDataResource.mimeTypeId]

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: None
    • Component/s: party
    • Labels:
      None

      Description

      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

        Activity

        Gavin made changes -
        Workflow jira [ 12402013 ] OFbiz Workflow [ 12505042 ]
        Jacopo Cappellato made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Jacopo Cappellato added a comment -

        Krzysztof,

        thanks for testing.
        Please post your questions to the user list, you'll have better chances to get an answer.
        I'm sorry I can't help more with this... I've never used that form before

        Show
        Jacopo Cappellato added a comment - Krzysztof, thanks for testing. Please post your questions to the user list, you'll have better chances to get an answer. I'm sorry I can't help more with this... I've never used that form before
        Hide
        Krzysztof Podejma added a comment -

        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?

        Show
        Krzysztof Podejma added a comment - 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?
        Hide
        Jacopo Cappellato added a comment -

        Krzysztof,

        I think that this has been fixed a few days ago, can you please confirm?

        Show
        Jacopo Cappellato added a comment - Krzysztof, I think that this has been fixed a few days ago, can you please confirm?
        Jacopo Cappellato made changes -
        Field Original Value New Value
        Assignee Jacopo Cappellato [ jacopoc ]
        Krzysztof Podejma created issue -

          People

          • Assignee:
            Jacopo Cappellato
            Reporter:
            Krzysztof Podejma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development