Closed
Bug 1076949
Opened 10 years ago
Closed 10 years ago
Enable TransactionMiddleware for everything in zamboni
Categories
(Marketplace Graveyard :: General, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2014-10-21
People
(Reporter: mat, Assigned: mat)
Details
(Whiteboard: [repoman])
Currently, we only enable TransactionMiddleware for the API - for everything else, the view decides what to wrap in transactions. We should attempt to enable TransactionMiddleware everywhere, wrapping every view in a transaction, that would probably eliminate some weird bugs like bug 899082.
Updated•10 years ago
|
Priority: -- → P2
Whiteboard: [repoman]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mpillard
OS: Linux → All
Hardware: x86_64 → All
Version: 1.5 → Avenir
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Component: Code Quality → General
Target Milestone: --- → 2014-10-14
Comment 1•10 years ago
|
||
Under Django 1.7 I see: "RemovedInDjango18Warning: TransactionMiddleware is deprecated in favor of ATOMIC_REQUESTS." Should we move to that instead?
Assignee | ||
Comment 2•10 years ago
|
||
Yes, I'll also directly change commit_on_success and commit_manually in my PR.
Assignee | ||
Comment 3•10 years ago
|
||
Fixed in https://github.com/mozilla/zamboni/commit/a12d15a59bb3cca6c747ac7f25a3abcfc3dc4aa9 (though I kept the deprecated stuff, we'll deal with that in the django 1.7 PR as the changes were a bit invasive) QA: - Please just do a basic app submission and reviewer approval/reject test.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: 2014-10-14 → 2014-10-21
You need to log in
before you can comment on or make changes to this bug.
Description
•