Open Bug 410004 Opened 18 years ago Updated 13 years ago

Bugzilla::Object's DB_COLUMNS should default to using the DB::Schema of DB_TABLE

Categories

(Bugzilla :: Bugzilla-General, enhancement)

3.1.2
enhancement
Not set
normal

Tracking

()

People

(Reporter: mkanat, Unassigned)

Details

Right now whenever I add a new column to a table I have to add it in the class of the object *and* in Bugzilla::DB::Schema. This is pretty silly for most classes, since they just default to using all the columns in the table. We should just have Bugzilla::Object read the table list from the real schema. We never make objects at a time when the real schema isn't available, anyhow.
Summary: Bugzilla::Object's DB_COLUMNS should default to using DB::Schema on DB_TABLE → Bugzilla::Object's DB_COLUMNS should default to using the DB::Schema of DB_TABLE
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved. I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
You need to log in before you can comment on or make changes to this bug.