Closed Bug 587239 Opened 14 years ago Closed 7 years ago

Delete attached images when question or answer is deleted

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: paulc, Unassigned)

Details

To avoid issues like bug 584937 in the future, we should make sure any deletions of objects related by generic foreign keys clean up their relations. Examples include deleting: * tagged questions/answers/documents * flagged objects (questions and answers were fixed in bug 584937). * anything else?
Hacking this, as the only GenericForeignKeys left unchecked are in the upload models. We've already checked that tags and flags are properly deleted when tagged/flagged objects are.
Summary: Investigate deletion propagation for objects related by generic foreign keys → Delete attached images when question is deleted
Summary: Delete attached images when question is deleted → Delete attached images when question or answer is deleted
Paul, is this still an issue? I can ask the other sumo devs if you're not sure. Thanks!
Flags: needinfo?(paul+moz)
Paul isn't working on SUMO anymore. Ricky, is this about Code Quality?
Flags: needinfo?(paul+moz) → needinfo?(rrosario)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(rrosario)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.