On Oct 6, 4:48 pm, Kevin <[email protected]> wrote:
> On Oct 6, 4:11 pm, Christoph Zwerschke <[email protected]> wrote:
>
> > Kevin schrieb:
>
> > > In my case it's an older project upgraded, the tg_visit table is used,
> > > tg_visit_identity table is not.
>
> > It probably has to do with that the default table "tg_visit_identity"
> > was renamed to "visit_identity" in order to match with the name in the
> > quickstarted model. So you should look into "visit_identity", not
> > "tg_visit_identity". The default table "tg_visit" should have been
> > renamed to "visit", too, but this was forgotten (fixed this in r6811 now).
>
> > Have you set visit.soprovider.model and identity.soprovider.model.visit
> > in your app.cfg?
>
> visit.soprovider.model = "actionstep.model.Visit"
>
> I don't have identity.soprovider.model.visit set. I'll check that out.
>
> I noticed the change from tg_visit_identity to visit_identity but did
> expect it mattered due to:
>
> class VisitIdentity(SQLObject):
>     class sqlmeta:
>         table = "tg_visit_identity"

Setting  identity.soprovider.model.visit fixed it.
Thanks for the clue! You saved me a lot of time I think.
That seemed to be my only upgrade issue.

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