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

Gary D. Gregory resolved VFS-814.
---------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

[~lukewpc] 

Thank you for your report and PR. Please verify git master and close this 
ticket.

 

> FtpFileObject: re-fetch MDTM after refresh
> ------------------------------------------
>
>                 Key: VFS-814
>                 URL: https://issues.apache.org/jira/browse/VFS-814
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0, 2.9.0
>            Reporter: Luke Wood
>            Priority: Major
>              Labels: easyfix
>             Fix For: 2.10.0
>
>
> {{FtpFileObject.getTimestampMillis}} stores last modification time using 
> {{{}FTPFile.setTimestamp{}}}.
> {{doDetach()}} nulls out the underling {{{}FTPFile{}}}, but doesn't set 
> {{mdtmSet = false}} this means later calls to 
> {{FtpFileObject.getTimestampMillis}} fail to refresh mdtm and default to LIST 
> timestamp.
> Suggested fix:
> Add {{mdtmSet = false}} to {{FtpFileObject.doDetach()}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to