[
https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300556#comment-17300556
]
Gary D. Gregory edited comment on VFS-797 at 3/12/21, 7:01 PM:
---------------------------------------------------------------
I did not say that. You asked "I am not sure in which version of vfs the fix
VFS-741 was made." All I did is look at the ticked and pointed out what you can
see as well: the ticket is marked as 2.5.0. So you probably can start testing
with 2.5.0 and up if you want VFS-741.
It would be easier to help if you could provide a test that any one can run to
reproduce the issue you are seeing.
I understand this may be a challenge since you have custom code in the middle
of the stack.
Note that we just released 2.8.0.
was (Author: garydgregory):
I did not say that. You asked "I am not sure in which version of vfs the fix
VFS-741 was made." All I did is look at the ticked and pointed out what you can
see as well: the ticket is marked as 2.5.0. So you probably can start testing
with 2.5.0 and up if you want VFS-741.
It would be easier to help if you could provide a test that any one can run to
reproduce the issue you are seeing.
I understand this may be a challenge since you have custom code in the middle
of the stack.
> JIRA Fix VFS-741 is causing an error in reading the files from azure host
> using azsb protocol. Error is:
> org.apache.commons.vfs2.FileSystemException: Invalid descendent file name
> ".//devexports/AgreementPrice/ECPServiceConfig.txt"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: VFS-797
> URL: https://issues.apache.org/jira/browse/VFS-797
> Project: Commons VFS
> Issue Type: Bug
> Reporter: Raghib Ali
> Assignee: Gary D. Gregory
> Priority: Blocker
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been
> getting an error for my application in reading the files from azure host
> using 'azsb' protocol. By default, it adds the prefix ./ in the filename
> which is throwing an exception in resolving the filename.
>
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files
> in
> "azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused
> by: org.apache.commons.vfs2.FileSystemException: Could not find files in
> "azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". at
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
> at
> org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
> at
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
> at
> com.bsc.intg.svcs.core.vfs.BSCVFSProvider.listFiles(BSCVFSProvider.java:234)
> at
> com.bsc.intg.svcs.core.vfs.BSCVFSListenerContainer.process(BSCVFSListenerContainer.java:142)
> ... 3 common frames omitted
>
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent
> file name ".//devexports/AgreementPrice/ECPServiceConfig.txt". at
> org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
> at
> org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
> at
> org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
> at
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
> ... 7 common frames omitted
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)