|
From: Chris W. <ch...@cw...> - 2003-02-21 05:42:51
|
David Hugh-Jones wrote:
> I think there's a bug in 0.52, and I can't see any details of it
> changing in the changelogs to 0.74. Not sure if you are using the
> sourceforge lists, so I just sent this direct.
>
> STEPS TO REPRODUCE
> Create a SPOPS class which has an id field with upper case
> characters, and a column_group for lazy loading.
> Populate the DB with some of these objects.
> Do a fetch_group({column_group => 'col_group_name'});
Sneaky bugger that was! I suspect this never showed up because most
people use lowercase fieldnames all the time. Not that there's
anything wrong with upper/mixedcase fieldnames, I was just a little
surprised this had never popped up before.
It's a problem in several places and I think I wrapped them all up.
(The fact that it's in several places also points out nasty design
stuff, but more time for that later...) At least the new tests I
created work!
I'll release 0.75 with the fix included tomorrow AM. It will be
available from the SF site for immediate download, or you'll be able
to get it from CPAN.
Thanks for the report!
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|