Uploaded image for project: 'Nuxeo Java Client'
  1. Nuxeo Java Client
  2. JAVACLIENT-137

Fetched blob has wrong mime-type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6, 3.0.0
    • Component/s: API

      Description

      Calling Blob#getMimeType on blob returned by the following code always returns application/octet-stream:

              Document file = nuxeoClient.repository().fetchDocumentByPath(pathOrId);
              Blob blob = file.fetchBlob();
              System.out.println("Mimetype: " + blob.getMimeType());
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h