View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022724||mantisbt||other||public||2017-04-13 04:57||2017-04-13 04:57|
|Summary||0022724: Status dropdown list not consistent between pages|
The status drop down list, on bug_update_page.php, is populated by print_status_option_list which in turn utilises the string_html_specialchars() method to parse the statuses to be displayed.
The status drop down list, on view page.php, is populated by html_button_bug_change_status which doesn't use the string_html_specialchars() method to parse the statuses to be displayed.
This will cause problems if a new status is added that needs to be converted by the string_html_specialchars().
In my implementation, I've added a helper function that populates the drop down with the required enum/associated array and which both the print_status_option_list and the html_button_bug_change_status now call.
Not sure why there isn't a generic helper function to populate drop downs anyway.
|Tags||No tags attached.|