Allow some model classes to have dynamic column names with class method DYNAMIC_COLUMNS

RESOLVED FIXED

Status

()

RESOLVED FIXED
9 months ago
9 months ago

People

(Reporter: dylan, Assigned: dylan)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

9 months ago
When working on bug 1253535 I kept encountering the fragility of our model system.

This fragility involves two things:

1. Extensions adding new columns to model objects
2. The use of those model objects in checksetup.

In particular, the SecureMail extension causes this problem because (at checksetup-time) we need to lookup certain Group objects.

Thus I propose to

1. allow model classes to take their list of columns from the informations schema (exposed via bz_table_columns_real)
2. Have Bugzilla::Group do this when being used in a commandline (e.g. checksetup) context.
(Assignee)

Updated

9 months ago
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.