You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jean-Marc Borer (JIRA)" <ji...@apache.org> on 2013/02/05 09:06:12 UTC
[jira] [Created] (VFS-452) FileObject read/write attributes should
reflect underlying FileSystem capabilities
Jean-Marc Borer created VFS-452:
-----------------------------------
Summary: FileObject 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
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