[Html-widget] Use of undef string in H::W::E::NullContainer::id

Ash Berlin ash at cpan.org
Wed Nov 29 13:23:07 GMT 2006


Carl Franks wrote:
> On 24/11/06, Ash Berlin <ash at cpan.org> wrote:
>> So i upgraded (finally) from 1.07 to 1.10 to use filedset elements (damn
>> designers wanting styling on it) and I got a raft of errors. Well
>> actually only two errors, but when they happen in a catalyst server
>> running under the perl debugger, its quite long.
>>
>> Anyway, the culprit was $name in sub H::W::E::NullContainer::id was
>> unset, and yet it still went down that path (Line 96 and 102 gave the
>> warnings.)
> 
> Under what circumstance was the warning being triggered? So I can
> write a test for this.
> 
> Even just a copy/paste of your code creating + using the widget should
> give me enough to replicate it.
> 
> Cheers,
> Carl
> 
Err - from memory it was something like:

my $fs = $w->element('Fieldset')
$fs->attribute({class => 'odd');
$fs->element('Select', 'submit');

Then process $w as ``normal''.

If that doesn't trigger it I'll dig out exactly what I'm doing.

Ash





More information about the Html-widget mailing list