Re: [Maypole-dev] bug in to_field w/ patch

From: Kester Habermann (kester.habermann at gmail.com)
Date: Sun Nov 14 2004 - 13:20:44 GMT


Hi Tony,

On Sun, 14 Nov 2004 12:14:01 +0000, Tony Bowden <tony at kasei.com> wrote:
> On Sat, Nov 13, 2004 at 11:07:29PM +0100, Kester Habermann wrote:
> > I have found a bug that's not in maypole itself but within
> > Class-DBI-AsForm-2.3 which is used by the maypole factory templates
> > and was written by the same author.
>
> Class::DBI::AsForm has now been taken over my me.

Nice to know, someone has taken on this usefull class.

> If you could throw together a failing test case for this as well, then
> I'll integrate it right-away.

No problem. Just take the BeerDB that comes with Maypole and put the attached
file in templates/custom/ . Then go to http://localhost/beerdb/beer/list
an klick on edit. The text fields will be empty. If you remove the
attached file they
will be filled again. If you apply my patch it will always work.

Btw.: I've added checkboxes to Class::DBI::AsForm. I just have to
clean up the code a bit still.

> thanks,
>
> Tony

Regards,

Kester.



_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT