Hi,

I am getting 
<type 'exceptions.KeyError'> 'Cannot resolve reference company_process in 
board_meeting definition'
error when using circular reference..

Table structure

db.define_table('board_meeting',
                Field('agenda', 'json'),
                Field('process',db.process),
                Field('event','reference company_process'),
                Field('serial', length=100),
                Field('address','string'),
                Field('description','text'),
                Field('resolution','json'),
                format = '%(serial)s')

db.define_table("company_process",
                Field('process',db.process),
                Field('company',db.company),
                Field('board_meeting',db.board_meeting),
                Field('egm',db.board_meeting),
                Field('steps','integer'),
                Field('filling_document','json'),
                auth.signature,
                format='%(process)s')

I am using web2py 2.16.1

Please help me to solve this.

Thanks.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to