Remove BugLinkTargetMixin
Bug #345329 reported by
Gavin Panella
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
CVEs can be linked to and unlinked from bugs by calling bug.linkCVE()
and bug.unlinkCVE(). This is the preferred way.
However, BugLinkTargetMixin creates another way to do the same thing,
where you can call cve.linkBug() and cve.unlinkBug(). Unfortunately
it's an asymmetric API, in that any processing done in bug.linkCVE()
and bug.unlinkCVE() is bypassed. It's better to have one way to do
something.
BugLinkTargetMixin is also used by specs and questions. By the time
this bug is addressed, the use of BugLinkTargetMixin by cve.Cve may be
no longer there.
tags: | added: cleanup |
Changed in malone: | |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.