Closed
Bug 521041
Opened 15 years ago
Closed 10 years ago
Make all translation foreign keys ON DELETE SET NULL and delete translations before removing data rows
Categories
(addons.mozilla.org Graveyard :: Code Quality, defect, P4)
addons.mozilla.org Graveyard
Code Quality
Tracking
(Not tracked)
RESOLVED
WONTFIX
4.x (triaged)
People
(Reporter: wenzel, Unassigned)
References
Details
This is same thing as bug 513962, but for all other models. The code to delete translations needs to go into the app_model beforeDelete() callback (we can gank that from the collections model), and we need to ensure that no models overwrite beforeDelete() without calling the parent. Also, all translation foreign keys need to become ON DELETE SET NULL, because we deleting translations will otherwise throw a foreign key error.
Comment 1•15 years ago
|
||
Moving this to 4.x make turn this into a wontfix but at least it gives a timeline to be done.
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → 4.x (triaged)
Comment 2•15 years ago
|
||
(In reply to comment #1) > Moving this to 4.x make turn this into a wontfix but at least it gives a > timeline to be done. what?
Reporter | ||
Comment 3•15 years ago
|
||
s/make/may !
Comment 4•14 years ago
|
||
Does Zamboni handle this properly?
Component: Administration → Code Quality
QA Contact: administration → code-quality
Target Milestone: 4.x (triaged) → Q4 2010
Updated•14 years ago
|
Target Milestone: Q4 2010 → Q1 2011
Comment 5•13 years ago
|
||
jbalogh ran into this recently in another bug. -> jeff to think about, but still not something we need to look at right away if we don't have time
Assignee: nobody → jbalogh
Updated•13 years ago
|
Target Milestone: Q1 2011 → 4.x (triaged)
Updated•13 years ago
|
Assignee: jbalogh → nobody
Comment 6•12 years ago
|
||
I ran into this recently too when working with the category localization page. I filed another bug which is related (or a dupe)... https://bugzilla.mozilla.org/show_bug.cgi?id=720038
Comment 7•10 years ago
|
||
Thanks for filing this. In an effort to not drown in existing reports we're aggressively closing old enhancements and bugs to get the buglist to a reasonable level so we can scope and process bug sprints in an effective manner. Patches for this bug are still welcome.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•