Possible BUG using legacy tables

11 views
Skip to first unread message

André Kablu

unread,
Feb 16, 2014, 10:38:39 AM2/16/14
to web...@googlegroups.com
Here is what I have:

I have a legacy db in mysql named cep, so I'd created two dbs in my application, one for the app and one for this legacy table:

db = DAL('sqlite://storage.sqlite', pool_size=1, check_reserved=['all'])
db_endereco
= DAL('mysql://user:pass@localhost/cep')


db_endereco
.define_table('tend_estado',
                         
Field('id_estado', 'integer'),
                         
Field('estado', 'string', length=150),
                         
Field('uf', 'string', length=2),
                         primarykey
=['id_estado'],
                         migrate
=False)


But when I go to APPADMIN and try to update a record:


When I point the mouse to link, look in the bottom of the image that instead of update it brings <function <lambda> at 0x....

Notice that for all other db. tables it works fine... but it wont work for all db_endereco. tables.



Reply all
Reply to author
Forward
0 new messages