From: Chris W. <ch...@cw...> - 2002-12-23 22:14:00
|
Ray Zimmerman wrote: > It seems like there are a few things broken in SPOPS-0.72 which are > causing a bunch of my ESPOPS tests to fail. > > Two things I noticed are that the 'if_match' handling of field_update() > seems to be broken and all_field_types() returns a hash with all undefs > for the values. > > I'm pretty sure changing ... > > $rv = ( $rv != 0 ); > > ... to ... > > $rv = ( $rv ne '0' ); > > ... near the end of field_update() is a bug. Normally, if the update > does not modify any rows it will return a "true" zero value, namely '0E0'. I think you're right. I modified this in CVS to just return $rv instead. I'll probably put out a new version shortly, just as soon as I get something built to do automatic document building for the SPOPS website. > I suspect my other problems are related to the changes to the way > type_info is handled. How were you retrieving/using the field types? > Merry Christmas! Same to you! Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |