diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-25 23:28:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-25 23:28:13 +0200 |
commit | 7094db8e78304f4f76d48ba230f07fab5c9d0daf (patch) | |
tree | e9a0466731955c2b74e1ac1d1743e86e264b1b74 /js/comments.js | |
parent | e83b95790d29393e9711aedeccfd63353bbc3cde (diff) | |
download | bugzilla-7094db8e78304f4f76d48ba230f07fab5c9d0daf.tar.gz bugzilla-7094db8e78304f4f76d48ba230f07fab5c9d0daf.tar.xz |
Bug 1471044 - Allow some model classes to have dynamic column names with class method DYNAMIC_COLUMNS
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.
Diffstat (limited to 'js/comments.js')
0 files changed, 0 insertions, 0 deletions