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

HttpFileObject read/write attributes should reflect underlying FileSystem capabilities

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None

    Description

      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?

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            jmborer Jean-Marc Borer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: