Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12775

Length of paths are limited under windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-file
    • Labels:
      None
    • Environment:

      Android 7.1.2 / iOS 10.3.1 / Windows 10.0 (Build 15063)

      Description

      There is no limit for the length of paths under iOS and Android, only on Windows. I build a project to reproduce the behavior.

      The project tries to create recursivly directories until 10 subdirectories are created.

      Repro steps:
      1. Download this cordova project (https://files.itizzimo.com/f/bd119941c9/)
      2. Add windows platform
      3. Execute the project and run the automated tests

      What happens:
      When the file path length hits the limit of 260 characters, the application can't create anymore directories. The test fails.

      What should happen:
      All tests succeed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              flop Florian Pechwitz
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: