[XML-SIG] [Bug #124857] 4ODS operations can occur outside transactions

noreply@sourceforge.net noreply@sourceforge.net
Thu, 7 Dec 2000 06:32:46 -0800


Bug #124857, was updated on 2000-Dec-07 06:32
Here is a current snapshot of the bug.

Project: Python/XML
Category: 4Suite
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: AFayolle
Assigned to : Nobody
Summary: 4ODS operations can occur outside transactions

Details: Here's a sample code. I would expect the last line to raise a TransactionNotInProgress exception, but in does not.


from Ft.DbDom import Dom
from Ft.Ods import Database

DBNAME='ods:alf@orion:5432:dom_test'

db = Database.Database()
db.open(DBNAME)
tx = db.new()
tx.begin()

doc = Dom.DocumentImp()
e = doc.createElementNS('','root')
doc.appendChild(e)
tx.commit()
e.setAttributeNS('','foo','bar')


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=124857&group_id=6473