Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8490

Avoid creating document with empty cmis:contentStreamFileName

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.0-HF02, 5.6-RC1, 5.6
    • Component/s: CMIS

      Description

      Some CMIS clients such as Adobe Drive 2.1 create cmis:document with a content stream with the correct payload and mimetype info but leave the cmis:contentStreamFileName property empty (the filename of the file in the Adobe Drive is mapped to the cmis:name of the document only). In that case Nuxeo will create with a mimetype info but without a filename fields. This makes the user interface look inconsistent when browsing the content from the default JSF UI.

      A propose workaround would be to automatically fill the cmis:contentStreamFileName from the info coming from the cmis:name (and potentially also from the cmis:contentStreamMimeType if the extension is missing so as to find a good looking filename consistent with the mimetype info).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: