commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VFS-452) HttpFileObject read/write attributes should reflect underlying FileSystem capabilities
Date Wed, 06 Feb 2013 15:23:22 GMT

     [ https://issues.apache.org/jira/browse/VFS-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory resolved VFS-452.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

{noformat}
commit -m "[VFS-452] HttpFileObject read/write attributes should reflect underlying FileSystem
capabilities." C:/svn/org/apache/commons/trunks-proper/vfs/src/changes/changes.xml C:/svn/org/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    Sending        C:/svn/org/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    Sending        C:/svn/org/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1443013.
{noformat}
                
> HttpFileObject read/write attributes should reflect underlying FileSystem capabilities
> --------------------------------------------------------------------------------------
>
>                 Key: VFS-452
>                 URL: https://issues.apache.org/jira/browse/VFS-452
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Jean-Marc Borer
>             Fix For: 2.1
>
>
> When you do a:
> FileObject fo = fsManager.resolveFile("http://host:port/somefile.xml");
> VFS will create a HTTP FileSystem that has only read capabilities. However, fo.isWritable()
returns true where
> fo.getFileSystem().hasCapability(Capability.WRITE_CONTENT)); return false as expected.
> This is inconsistent in my opinion and should be fixed or is it intentionally implemented
that way?
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message