On 7/18/06, Randall <[EMAIL PROTECTED]> wrote:

I've got everything working now.  I found a bug (I think) in
savisit.py.  Here is a portion of the patch:

@@ -29,6 +29,7 @@
     def new_visit_with_key(self, visit_key):
         visit = visit_class(visit_key=visit_key,
                         expiry=datetime.now()+self.timeout)
+        session.save(visit)
         return Visit(visit_key, True)

I'll report in on Trac after this post.

please provide the bug #,

I added get, get_by, and table attributes to Visit, VisitIdentity, and
User.  I don't like this monkey patching, but it's what I've got to do
to get it working for now.

actually this is not a bug the get_by method is provided by the ActiveMapper class, a diferent approach which is cleaner IMO is to extend the SAIdentityProvider, please take a look at a newer thread where I post how to do it.

Randall






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

Reply via email to