Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-444

FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.2
    • FTP
    • None

    Description

      CI tests reported the following test failure on Feb 28th, 2012 (a leap year):

      Failed tests: testParseTimestampWithSlop(org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest): test.slop.roll.back.year expected:<1> but was:<0>

      The cause is to do with how lenient future dates are handled.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: