thanks. Think I got them now. Fixed in 604/332. Massimo
On Dec 30, 6:51 pm, Fran <francisb...@googlemail.com> wrote: > On Dec 31, 12:45 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > 1) try svn 602 or launchpad 330. They should work with uuid. > > I still get this error: > value not in database! > > The names show up fine but when I submit this error shows up. > I have: > db.define_table('owner',SQLField('name'),SQLField > ('uuid',length=64,default=uuid.uuid4())) > db.define_table('dog',SQLField('name'),SQLField('owner','text')) > db.dog.owner.requires=IS_IN_DB > (db,'owner.uuid','owner.name',multiple=True) > > > 2) IS_NULL_OR(IS_IN_DB(...multiple=True)) > > is not supposed to work because if multiple=True IS_IN_DB does not > > poses constraints on how many you select. You may select 0. Hence it > > would be equivalent to IS_IN_DB(...multiple=True) > > I'm not trying to add Multiple= to the IS_NULL_OR(). > I'm finding that this new functionality has broken other tables which > use plain IS_NULL_OR() without having anything specified for > Multiple=. > Hence this breaks backward compatibility. > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---