Avoid db.rollback() in upgrade_environment()
|Reported by:||pipern||Owned by:||Ryan J Ollos|
|Severity:||major||Keywords:||AttributeError upgrade db|
|Cc:||Steffen Hoffmann, lkraav||Trac Release:||0.12|
db.rollback() should be avoided in
upgrade_environment(db), as this would rollback the actions of other plugins which are also upgrading at the same time.
I don't know if it's the best way - for now, I just commented out the
db.rollback(). I'm not certain if it's needed after a
SELECT throws an exception due to missing table.
Change History (10)
comment:2 Changed 5 years ago by
|Cc:||Steffen Hoffmann lkraav added; anonymous removed|
|Owner:||changed from Michael Renzmann to Ryan J Ollos|
|Status:||new → assigned|