id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9742,AttributeError on db.rollback() in environment_needs_upgrade,hasienda,hasienda,On environment upgrade with trac-admin of Trac ''0.13dev'' I get\r\n{{{\r\n#!python\r\n  File "/lib/python2.5/site-packages/Trac-0.13dev-py2.5.egg/trac/env.py"_ line 646_ in needs_upgrade\r\n    if participant.environment_needs_upgrade(db):\r\n  File "build/bdist.linux-i686/egg/announcer/api.py"_ line 493_ in environment_needs_upgrade\r\n    db.rollback()\r\n  File "/lib/python2.5/site-packages/Trac-0.13dev-py2.5.egg/trac/db/util.py"_ line 107_ in __getattr__\r\n    raise AttributeError\r\nAttributeError:\r\n}}}\r\n\r\nThis applies to all recent versions of Trac_ because the `rollback` method has been removed from read-only connections. `db` argument to `environment_needs_upgrade`  `IEnvironmentSetupParticipant` method is such a read-only connection (see T:#10451).\r\n\r\nMaybe this is related to other currently open tickets_ but then this is rather blurred there_ so better have it explicit here.,defect,new,high,AnnouncerPlugin,major,,AttributeError upgrade db,rjollos_ ivoras@gmail.com_ doki_pen,0.12
