Jorge Godoy wrote:
> "JM" <[EMAIL PROTECTED]> writes:
>
> > I still have this problem, can anyone please help me?
>
> Sorry but these messages have expired for me here.  What problem?
>
> --
> Jorge Godoy      <[EMAIL PROTECTED]>

Hi Jorge,

Thanks for the reply.
Basically, I'm trying to update data stored in Sqlite. I do it through
exposed methods that take an 'id' as parameter and update the object,
by getting a reference with o=Object.get(id) and the setting a new
value for one of the fields (o.field='new val'). Now, if I do it once,
ok everything works ok. But if I do it over and over again on a series
of records, suddenly all the old values reappear, randomly.
If I go to a page displaying all the records -- which I send from a
method returning a dict(data=list(Object.select()))  -- and keep
hitting the refresh button in my browser, the values displayed for
these fields keep switching from the old to the new values, apparently
randomly, although there are no updates made. I suspect this is a
problem with the SQLObject cache, but I have no idea how to debug this,
I'm expert in C++ but new to python/TG/web development.

Thanks
JM


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to