[Anthill-pro] Vault change log failing with suspected invalid
enddate
Ryan Smith
rws at urbancode.com
Tue Jun 10 15:42:26 CDT 2008
Pierre,
You are correct, this is a bug. I emailed you the fix directly.
Ryan Smith
Boudreau, Pierre wrote:
>
> I got a failed changelog step and it seems to be because of the format
> of the enddate used in the Vault history command. The time is in the
> format 13:28:30 PM. It seems to be using the 24 hour clock as well as
> the AM/PM, which doesn’t make sense... Is this format taken from my
> server’s regional settings or is it specified by Anthill Pro? If it is
> in Anthil Pro, is it configurable? Is it specific to the Vault repository?
>
> Here’s the info I get in the log:
>
> Vault command line: vault history -host myhost -user myuser -password
> mypassword -repository myrepository -begindate 06/10/2008 12:42:01 PM
> -enddate 06/10/2008 13:28:30 PM -ssl $/Affinity_Trunk
>
> Vault command working Directory: C:\Program Files\anthill3\agent\bin
>
> Vault XML changelog file path: C:\Program
> Files\anthill3\agent\var\jobs\183\changelog\change-log-0.xml
>
> Vault command environment:
>
> command exit status: -1
>
> change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
>
> changeSetCount: 0
>
> changeCount: 0
>
> latestChangeSetUser: null
>
> latestChangeSetDate: 1969-12-31 20:00:00 -0400
>
> }
>
> I opened up a command prompt and executed the command:
>
> vault history -host myhost -user myuser -password mypassword
> -repository myrepository -begindate “06/10/2008 12:42:01 PM” -enddate
> “06/10/2008 13:28:30 PM” -ssl
>
> <vault>
>
> <error>
>
> ENDDATE could not be converted to a valid date: String was not
> recognized as a valid DateTime.
>
> </error>
>
> <result success="no" />
>
> </vault>
>
> If I remove the PM in the enddate, the command works and returns the
> changes between the specified times.
>
> Pierre Boudreau | Phone ext:3027
>
> ------------------------------------------------------------------------
>
> t4g <http://www.t4g.com/>*
> T4G Limited*
> 910-1801 Hollis Street,
> Halifax, N.S., Canada, B3J 3N4
>
> Toll Free: 866.268.6848
> Local: 902.470.2620
> Fax: 902.470.2626
> www.t4g.com <http://www.t4g.com/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
More information about the Anthill-pro
mailing list