Closed
Bug 760870
Opened 13 years ago
Closed 12 years ago
It should not be possible to set a bug field to an inactive value
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 643264
People
(Reporter: LpSolit, Unassigned)
Details
Currently, inactive field values are not displayed in the UI, but you can still hack the URL to use them. I don't think this behavior is intentional, and we should enforce this in the backend code.
I'm pretty sure the code is full of such problems, as Bugzilla::Field::get_legal_field_values() returns active values only, but Bugzilla::Field->legal_values() returns all values, including inactive ones. get_legal_field_values() should be merged with legal_values() which would return active values only, unless {all => 1} is set. See also bug 456743 comment 32.
![]() |
Reporter | |
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•