Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 19470
Status: resolved
Priority: 0/
Queue: Data-FormValidator

People
Owner: MARKSTOS [...] cpan.org
Requestors: perrin [...] elem.com
Cc:
AdminCc:

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



Subject: uninitialized value warning
Passing in a constraint without a name (e.g. a sub ref) results in this warning message: Use of uninitialized value in hash element at /home/perrin/projects/arcos/lib/Data/FormValidator/Results.pm line 617. No big deal, but my log files are full of them.
Subject: Re: [rt.cpan.org #19470] uninitialized value warning
Date: Wed, 24 May 2006 19:22:34 -0400
To: Guest via RT <bug-Data-FormValidator [...] rt.cpan.org>
From: Mark Stosberg <mark [...] summersault.com>
On Wed, May 24, 2006 at 06:34:59PM -0400, Guest via RT wrote: Show quoted text
> > Passing in a constraint without a name (e.g. a sub ref) results in this > warning message: > > Use of uninitialized value in hash element at > /home/perrin/projects/arcos/lib/Data/FormValidator/Results.pm line 617.
Thanks for the report Perrin. I'll take care of it, unless you want send a patch yourself for the personal satisfaction. I'll see you at YAPC! (assuming you are going). Mark
On Wed May 24 18:34:58 2006, guest wrote: Show quoted text
> Passing in a constraint without a name (e.g. a sub ref) results in this > warning message: > > Use of uninitialized value in hash element at > /home/perrin/projects/arcos/lib/Data/FormValidator/Results.pm line 617.
Perrin, I'm sorry I wasn't able to reproduce this. Further in t/18_constraint_refs, we already had a test that included an constraint that was a failing un-named code ref, and that didn't trigger it. If you can provide a Test::More style test case for it, I'm sure I can track it down and squash it! Thanks, Mark
I'm marking this bug as "resolved" because it can no longer be reproduced, and there hasn't been a response from the requester in a long time.