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

People
Owner: Nobody in particular
Requestors: CYCLES [...] cpan.org
Cc:
AdminCc:

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



Subject: No warning if you don't extend HTML::FormHander
Take the following code: package MetaBrainz::Server::Form::Donation; use Moose; use HTML::FormHandler::Moose; has_field name => ( type => 'Text', ); 1; This looks fine, but it doesn't actually work because it doesn't extend 'HTML::FormHandler'. However, everything compiled and ran just fine, though $form->field('name') will return undef. It would be nicer if HTML::FormHandler could somewhere notice this usage, and either warn or die.
Added check in 'has_field' to look for HTML::FormHandler[::Field] in linearized_isa.