commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Falco (Jira)" <>
Subject [jira] [Created] (VFS-733) Parent layer of ZipFileSystem vanishes
Date Fri, 04 Oct 2019 10:46:00 GMT
Falco created VFS-733:

             Summary: Parent layer of ZipFileSystem vanishes
                 Key: VFS-733
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.4.1, 2.3, 2.4, 2.2
            Reporter: Falco

When using {{FileObject#exists}} and {{FileObject#getContent}} on a ZIP file (in any order),
the reference to the parent file system is set to {{null}}.

final FileObject zippedFile = new OnCallRefreshFileObject(fileInZip());


assertNotNull(zippedFile.getFileSystem().getParentLayer()); // fails

For an executable example, refer to [].

I come to believe this does not work as intended. I'm also relatively clueless about a potential
fix or workaround. For me, this bug blocks upgrading from VFS 2.1.

This message was sent by Atlassian Jira

View raw message