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: 59059
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

Owner: Nobody in particular
Requestors: pete [...]

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

Subject: Cannot use numbers in field names and also use 'default_' method
Download (untitled) / with headers
text/plain 200b
If I have a field named something like 'event_1_date' then I cannot use a method named 'default_event_1_date' to set the default value because the code in '_comp_default_meth' replaces _\d+_ with a _.
Download (untitled) / with headers
text/plain 218b
Fixed with commit to git repo changing regex used in constructing default method names. A workaround is to explicitly set the method names using 'set_validate' => 'my_method', 'set_default' => 'my_default_method', etc.

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

Please report any issues with to