"Unparseable date" error, connecting to TFS 2010

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: tfs-plugin
    • None
    • Environment:
      W2K3 R2 SP2

      Getting an error "unparseable date" but the text after the error is not a date. It appears to be caused by the "gated checkins" that we have configured on our server; with a regular checkin, the first three lines are:

      Changeset: 2738
      User: CCAS-CCG\Ken Beal
      Date: Monday, September 13, 2010 9:10:22 PM

      However, with a "gated checkin" submission, there's an inserted third line:

      Changeset: 2737
      User: mshinde
      Checked in by: CCAS-CCG\BTFSBUILDS001WV$
      Date: Monday, September 13, 2010 9:07:36 PM

      The error near the end of the build log is:

      FATAL: Unparseable date: "CCAS-CCG\BTFSBUILDS001WV$"

      It appears that the changeset list processing code is not actually searching for "Date:" and parsing what's to the right of it; the heuristic appears to be "take the THIRD LINE, remove up to the colon, then parse the rest as a date", which is why it's getting the build server name instead of the date.

            Assignee:
            redsolo
            Reporter:
            kenbeal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: