Ticket 199
http://trac.turbogears.org/turbogears/ticket/199

This ticket deals with the fact that identity changes don't commit
when you type hub.commit() in the shell. This is because identity uses
its own connection hub. Here are some options:

1) come up with a way to make identity share the hub with the rest of
the model (tricky, but may be worth while)
2) make turbogears.database.commit_all available in the shell, so you
can just type commit_all to commit all connection hub transactions
3) make hub.commit() call commit_all behind the scenes

I haven't given much thought to #1, but it may be worth thinking a bit
about how to share and reuse hubs. As it stands now, I believe that
users of identity would end up with 2 connections to their database
(one for their model, one for identity), even if the tables are all in
one database. I'm sure there's a way to fix that and make it better.

Thoughts?

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to