[jira] [Created] (VFS-364) WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (VFS-364) WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.

ASF GitHub Bot (Jira)
WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.
-------------------------------------------------------------------------------

                 Key: VFS-364
                 URL: https://issues.apache.org/jira/browse/VFS-364
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: OS/X
            Reporter: Ralph Goers
            Assignee: Ralph Goers
             Fix For: 2.1


WebdavFileObject checks the returned list of children to exclude the current directory from the list of children. This fails with Oracle XML DB as it only returns the path and does not include the protocol, host and port.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (VFS-364) WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.

ASF GitHub Bot (Jira)

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

Ralph Goers resolved VFS-364.
-----------------------------

    Resolution: Fixed

isCurrentFile now checks for just a matching path in addition to a full match.

> WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.
> -------------------------------------------------------------------------------
>
>                 Key: VFS-364
>                 URL: https://issues.apache.org/jira/browse/VFS-364
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS/X
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>             Fix For: 2.1
>
>
> WebdavFileObject checks the returned list of children to exclude the current directory from the list of children. This fails with Oracle XML DB as it only returns the path and does not include the protocol, host and port.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (VFS-364) WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Ralph Goers closed VFS-364.
---------------------------


Fix validated

> WebdavFileObject.isCurrentFile fails if response.getHref returns just the path.
> -------------------------------------------------------------------------------
>
>                 Key: VFS-364
>                 URL: https://issues.apache.org/jira/browse/VFS-364
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: OS/X
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>             Fix For: 2.1
>
>
> WebdavFileObject checks the returned list of children to exclude the current directory from the list of children. This fails with Oracle XML DB as it only returns the path and does not include the protocol, host and port.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira