On Monday 20 August 2007 11:22, Ed Leafe wrote:
> First off, I thought that you were replacing dbPostgreSQL.py's
> beginTransaction() method with one that does nothing. So where are
> these multiple transactions coming from?
>
> Second, when the save() is called on the parent, it should have the
> transaction token from the app, meaning that there should be no way that
> another bizobj could start a transaction.
I'm using cursor.execute("Begin") as suggested in belief that a begin would do
no harm. I was under the impression that only one begin would be called from
a Form.save()
The child bizobj is linked to the primary/parent in the class and is added as
a child in the createBizobj() of the form. In the past all I did was call
the main form save() and it saved the children without any issue. I'm still
trying to find out what is the root cause of my saves failing....
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]