Specify missing bug field types
Categories
(bugzilla.mozilla.org :: General, task)
Tracking
()
People
(Reporter: kohei, Assigned: kohei)
References
Details
Attachments
(1 file, 1 obsolete file)
In Bug 1529362, I’m creating Ajax-based completely new bug lists, which are currently dead plain tables. I need to know the type of each field so the display values can be enriched, but most fields don’t have the type specified. Will send a PR shortly.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Merged to master.
Comment 4•5 years ago
|
||
Just a sanity check - and perhaps this isn't the right bug to ask this (though the linked-to bug 1529362 clearly isn't the right place, either) - but how will this cope with Bugzilla extensions that add custom fields and which don't specify a field type?
I know that a type should be specified, but if Bugzilla doesn't enforce this (which I assume it doesn't, based on this commit) then you can be sure there are extensions which leave it unspecified. You'll need to ensure the new Bugzilla doesn't blow up when it encounters this situation.
Assignee | ||
Comment 5•5 years ago
|
||
Many fields in the core and extensions are still without any type, and it won’t be a big problem. By specifying a type, the field will get a proper presentation and sort order on the new search results page, so it’s a good idea to always do so.
Comment 6•5 years ago
|
||
OK - that sounds fine. Just making sure that someone had considered this... sounds like you have! :-)
Description
•