Richard Jones schrieb:
> In short, the scheduled action does fire, but any changes made during
> its execution - either modifying the change request status or creating
> the new PCMAccount table row - are not committed to the database.

You probably have to commit your database changes in the "do_activet"
function manually. In TG 1 every controller method is wrapped in an
implicit transaction, which do the commit for you. But since the
scheduler is not run by the TurboGeras controller methods, you have to
handle transactions manually.

See also:

http://sqlobject.org/SQLObject.html#transactions
http://docs.turbogears.org/1.0/GettingStarted/DefineDatabase#id14
http://docs.turbogears.org/1.0/ExposeDecorator (first paragraph)
http://docs.turbogears.org/1.0/Wiki20/Page3 (End of page)

HTH, Chris

--~--~---------~--~----~------------~-------~--~----~
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