Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 91793
Status: resolved
Worked: 5 min
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: adaptive year test failure
Date: Thu, 2 Jan 2014 09:31:45 +0000
To: bug-HTML-FormHandler [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 511b
HTML-FormHandler started failing t/compound/basic.t on 2014-01-01. This is because it tests a date-selection form, HTML::FormHandler::Field::Year automatically offers a range starting five years before the current year, and the test makes a hardcoded selection of 2008. Attached patch fixes, by making the test adaptively select the current year. (Race condition means that it's not necessarily selecting the same current year that H:F:F:Y chose, but it's not likely to exceed the permitted range.) -zefram
Download adaptive_year.patch
text/x-diff 803b

Message body is not shown because sender requested not to inline it.

Fixed in 0.40055.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.