Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-288

unable to browse hidden directories (regression fix overrode VFS-210:)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      java

      Description

      The regression fix:

      r742127 | rgoers | 2009-02-09 03:37:32 +1100 (Mon, 09 Feb 2009) | 1 line

      Fix unit test - throw exception if child is not a directory

      Now means that FTP hidden directories cannot be listed, since the getType() has to return a DIRECTORY value. The overwrote the earlier change:

      ------------------------------------------------------------------------
      r659785 | imario | 2008-05-24 20:32:41 +1000 (Sat, 24 May 2008) | 1 line

      VFS-210: First development iteration. Most important methods now work more like a wrapper, you should already see a major increase in performance with ftp and large directories as long as no method (or your code) calls getFileType(). Hidden and special files should work now too .. as long as you know the path, for sure.

      That allowed hidden directories to be listed.

        Attachments

        1. patch.diff
          0.7 kB
          Mark O'Donohue

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              markodonohue Mark O'Donohue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: