[Seaside] Storing SmallInteger in GOODS

Avi Bryant avi at beta4.com
Sun Oct 24 13:24:03 CEST 2004


On Oct 24, 2004, at 6:27 AM, Yar Hwee Boon wrote:

> I noticed a problem when storing and retrieving SmallInteger(s) in 
> GOODS. Run the following:
>
> =====
> db := KKDatabase onHost: 'localhost' port: 6100.
> db root at: #xx put: -3.
> db flushAll.
> (db root at: #xx) inspect
> ======

You need a #commit before the #flushAll or you won't have anything at 
#xx at all.  But yes, having put that in I can reproduce your bug - 
clearly something going wrong with the signed integer representation.  
I'll look into it, thanks.

Avi



More information about the Seaside mailing list