Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1995

Display a proper message when no application associated to a given file type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 5.2.2
    • Component/s: OS Integration
    • Release Notes Summary:
      Improved handling of files with no associated application in Direct Edit
    • Release Notes Description:
      Hide

      A notification message will now be shown if no associated application is found when opening a file through Direct Edit.

      Show
      A notification message will now be shown if no associated application is found when opening a file through Direct Edit.
    • Epic Link:
    • Team:
      DRIVE
    • Sprint:
      nxDrive 11.2.22
    • Story Points:
      1

      Description

      Issue

      OSError: [WinError 1155] Aucune application n’est associée au fichier spécifié pour cette opération: 'C:/Users/USER/AppData/Roaming/ndrive/edit/4e99b1b7-e5d0-458d-9063-128d0079aa73_file-content/eee.ico'
        File "nxdrive\manager.py", line 447, in open_local_file
        File "nxdrive\osi\windows\windows.py", line 136, in open_local_file
      
      [OS] Failed to find an editor for WindowsPath('C:/Users/USER/AppData/Roaming/ndrive/edit/4e99b1b7-e5d0-458d-9063-128d0079aa73_file-content/eee.ico')
      

      Analysis

      This happens when one tries to open, let's say, a PowerPoint file without having a software to open it (Microsoft Office, LibreOffice, ... ).
      Here is the "doc" for the error.

      Fix

      A simple and proper dialog box should be prompted to the user:

      There is currently no associated software to open the file %1.
      Please install an appropriate software and retry.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h