commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-288) unable to browse hidden directories (regression fix overrode VFS-210:)
Date Fri, 06 Nov 2009 23:50:32 GMT

    [ https://issues.apache.org/jira/browse/VFS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774496#action_12774496
] 

Ralph Goers commented on VFS-288:
---------------------------------

I don't like the idea that the behavior should be specific to any particular provider. Actually,
I would prefer if the FileType could be HIDDEN for these files instead of IMAGINARY. The problem
with the change above is that if the parent directory really doesn't exist it needs to be
created. Can you see if there is some way that could be done?

> unable to browse hidden directories (regression fix overrode VFS-210:) 
> -----------------------------------------------------------------------
>
>                 Key: VFS-288
>                 URL: https://issues.apache.org/jira/browse/VFS-288
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: java
>            Reporter: Mark O'Donohue
>         Attachments: patch.diff
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message