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

Nuxeo Drive crash when the local file & folder paths are too long and nested under Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Drive
    • Tags:
    • Backlog priority:
      800

      Description

      TODO:

      • change the test setup to put the root of the temporary test folder under a path with length 250 (windows max path length is around 255 chars).
      • observe the tests crashing
      • fix by either modifying the normalize_path function to add a \\?\ prefix under sys.platform == win32 or by adding this prefix only when calling open or os.listdir in the LocalClient class.

      Reference: http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: