Hi,

The title is my best guess for what the issue is most likely linked to... 
although in this case, it's... *weirder*...
The code:

        logging.info('-------------------------------------------| %i ' % 
self._user.id)
        logging.info('-------------------------------------------| %s ' % 
self._user.email)
        res = db(db.user_atom.user == self._user.id
                and db.user_atom.top_atom == self._top_atom.id).select()
        logging.info('-------------------------------------------| %i ' %res
[0].user.id)
        logging.info('-------------------------------------------| %s ' %res
[0].user.email)


...puts out:

INFO     2013-01-12 11:06:29,201 9_signup_forms.py:131] 
-------------------------------------------| 505 
INFO     2013-01-12 11:06:29,202 9_signup_forms.py:132] 
-------------------------------------------| herve.may...@ymail.com 
INFO     2013-01-12 11:06:29,225 9_signup_forms.py:135] 
-------------------------------------------| 454 
INFO     2013-01-12 11:06:29,271 9_signup_forms.py:136] 
-------------------------------------------| molhok...@gmail.com 

That is, selecting with the user with id 505 returns the record value for 
user with id 454... knowing that user with id 454 is the previously created 
user in the same process...
Saying this is a class reference issue is a wild guess, since this is a 
variable assignment call within a method of a class instance, and not the 
return of a class property for example...

I would be grateful for a logical explanation of what is happening, and can 
provide more context/code, if ncessary...

In any case, thanks for the great framework...

---------------
molhokwai

-- 



Reply via email to