Closed Bug 1471044 Opened 6 years ago Closed 6 years ago

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

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

Details

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.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.