Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1579

Fix file download from drag-and-drop on nuxeo-document-preview

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.19
    • Fix Version/s: 3.1.x, 3.0.21
    • Component/s: Preview
    • Release Notes Summary:
      A File drag'n drop does not trigger a download.
    • Backlog priority:
      900
    • Sprint:
      UI - 2023-3

      Description

      Issue seems to be a regression from ELEMENTS-1534 as of testing with nuxeo-web-ui-3.0.19 and nuxeo-2021-HF33.

      Uploading a file using the dropzone of nuxeo-document-preview results in the file being downloaded if of type .json, .html, .eml, or .msg.

      Steps to Reproduce:

      1. Create a File document with no attachment / main blob
      2. From the document View tab, drag-and-drop a file of one of the affected types (.json, .html, .eml, or .msg) to the dropzone

      Expected result: file is uploaded without an extraneous download being performed.

      Actual result: after uploading file, a copy of the file is downloaded as well.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: