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

Carl Franks fireartist at gmail.com
Wed Nov 29 15:00:06 GMT 2006


On 29/11/06, Ash Berlin <ash at cpan.org> wrote:
> 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.

I'm not getting a warning from that - I think the issue was fixed in
svn revision 5235.

Cheers,
Carl



More information about the Html-widget mailing list