Closed
Bug 996175
Opened 11 years ago
Closed 9 years ago
Test for cascade deletes
Categories
(Marketplace Graveyard :: Code Quality, defect, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: robhudson, Assigned: vamsi.lnm)
Details
(Whiteboard: [lang=python][marketplace-transition])
Addons has a test for cascade deletes. We should create one for Webapps.
I started one here and then stopped once I collected all the things that can reference the app:
https://github.com/robhudson/zamboni/commit/12c1887
Updated•11 years ago
|
Priority: -- → P4
Reporter | ||
Updated•11 years ago
|
Whiteboard: [contribute]
Updated•11 years ago
|
Whiteboard: [contribute] → [good first bug]
Updated•10 years ago
|
Whiteboard: [good first bug] → [good first bug][lang=python]
Comment 1•10 years ago
|
||
Hi Andy/MP-Team, it looks like this might not be very much clear to the newbie how to fix this. Can you put some information here for newbies so that they can pick this bug and fix it.
Thanks,
Ram
Flags: needinfo?(amckay)
Updated•10 years ago
|
Flags: needinfo?(amckay)
Comment 2•10 years ago
|
||
To fix this, one must write new unit tests in https://github.com/mozilla/zamboni/blob/master/mkt/webapps/tests/test_models.py trying to delete Webapps that have things associated to them and making sure everything gets deleted properly. Some tests already exist, but we should add more, testing what happens to Previews and other related objects.
Assignee | ||
Comment 3•10 years ago
|
||
hello sir i am new to open source and i want to work on this and if possible please assign me a mentor
Comment 4•10 years ago
|
||
Thanks Assigning this bug to you.
Assignee: nobody → vamsi.lnm
Status: NEW → ASSIGNED
Comment 5•10 years ago
|
||
This is not a good first bug, as it is complicated to fix. Please feel free to pick a real goodfirstbug.
Whiteboard: [good first bug][lang=python] → [lang=python]
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [lang=python] → [lang=python][marketplace-transition]
You need to log in
before you can comment on or make changes to this bug.
Description
•