Modify ↓
#12128 closed defect (fixed)
Project deletion does not remove info from other database tables
| Reported by: | Cinc | Owned by: | falkb |
|---|---|---|---|
| Priority: | normal | Component: | SimpleMultiProjectPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
When deleting a project from the admin panel only self.__SmpModel.delete_project([id]) is called. The association of milestones to projects in database table smp_milestone_project isn't removed. Same is probably true for the version table.
Attachments (2)
Change History (6)
comment:1 Changed 11 years ago by
Changed 11 years ago by
| Attachment: | model_12128.patch added |
|---|
Patch: remove project info from other database tables.
Changed 11 years ago by
Complete file: remove project info from other database tables.
comment:3 Changed 11 years ago by
Looked good, tested with 1.0 and 0.12. Thanks Cinc! Do you have any more plans?
comment:4 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.



The following patch should do the job:
Requirements-Trac/Trac/Plugins/SimpleMultiProject-0.0.4dev-py2.7.egg/simplemultiproject/model.py