Open
Bug 280122
Opened 20 years ago
Updated 11 years ago
Classification, Product, and Component should all be generic level of "classification"
Categories
(Bugzilla :: Bugzilla-General, enhancement, P3)
Tracking
()
NEW
People
(Reporter: mkanat, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
The idea here is to unify the code that we use for dealing with Classifications, Products, and Components. It would also theoretically allow us (or local admins) to more easily add further and further levels of classification of bugs. For example, subcomponents would be possible. Here's a basic proposal for how the architecture would work. Bugzilla::Classification - The parent class Bugzilla::Classification::Product and Bugzilla::Classification::Component, subclasses that implement the stuff that's specific to products and components.
Reporter | ||
Comment 1•20 years ago
|
||
As far as the DB structure, let's just keep that the same, for now, I think. Maybe eventually we can have a "parent" classification table, and then two "subclass" tables of product and component that hold the fields specific to those "types" of classifications.
Reporter | ||
Comment 2•20 years ago
|
||
OK, I'm working on this. The class is called Bugzilla::BugContainer. It will have three subclasses, Bugzilla::BugContainer::Classification, Bugzilla::BugContainer::Product, and Bugzilla::BugContainer::Component. It's very cool, so far. It requires very little code being written by the subclasses. (Note to self: current code is in mkanat3)
Status: NEW → ASSIGNED
Reporter | ||
Updated•20 years ago
|
Assignee: general → mkanat
Status: ASSIGNED → NEW
Reporter | ||
Updated•20 years ago
|
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.24
Reporter | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > Is this closely enough related to bug 43940 to be considered a duplicate? Well, I think that's about adding a new visible feature, and this is about re-working the underlying architecture of Bugzilla. So I'd say that although one might make the other easier, they aren't duplicates.
Reporter | ||
Updated•18 years ago
|
Target Milestone: Bugzilla 3.0 → ---
Reporter | ||
Comment 5•18 years ago
|
||
Soon after I filed this bug, I did some work on it. Attached is how far I got. It doesn't even really compile (it has a few silly errors in it), but it should give you an idea of what I was planning.
Comment 6•18 years ago
|
||
I'm very interested in how this is going. Is this more about reorganising the schema and back-end or is it about providing a facility for admins to easily customise the way products/components(/sub-components) are classified?
Reporter | ||
Comment 7•18 years ago
|
||
(In reply to comment #6) > I'm very interested in how this is going. > > Is this more about reorganising the schema and back-end or is it about > providing a facility for admins to easily customise the way > products/components(/sub-components) are classified? This bug is about the backend.
Reporter | ||
Updated•16 years ago
|
Assignee: mkanat → general
You need to log in
before you can comment on or make changes to this bug.
Description
•