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

File extension unknown by the browser fails to trigger server side mimetype detection upon drag and drop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF01
    • Fix Version/s: 5.6.0-HF02, 5.7.1
    • Component/s: None

      Description

      Steps to reproduce:

      1- register a mimetype definition for ".myextension"
      2- map this mimetype to a specific FileManager plugin
      3- drop a file ending ".myextension" in a workspace

      Expected results: the plugin is called
      Observed results: the default FileManager file importer is used instead.

      The reason is that chrome is passing the empty string "" as mimetype which is not mapped to anything. The FileManagerService should be more robust and trigger a server side mimetype detection in that case.

        Attachments

          Activity

            People

            • Assignee:
              ogrisel Olivier Grisel
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: