Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1998

VFSManager.resolveOrCreateLeafFromPath() does not work for direct files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4.10
    • Fix Version/s: 10.5
    • Component/s: Framework
    • Labels:
      None

      Description

      The method VFSManager.resolveOrCreateLeafFromPath() does not work as expected when calling like this:

      // Works
      VFSManager.resolveOrCreateLeafFromPath(container, "/file.txt");
      
      // Works
      VFSManager.resolveOrCreateLeafFromPath(container, "/my/subpath/file.txt");
      
      // Fails
      VFSManager.resolveOrCreateLeafFromPath(container, "file.txt");
      

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: