View Issue Details

IDProjectCategoryView StatusLast Update
0022724mantisbtotherpublic2017-04-13 04:57
ReporterMartinW Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Product Version2.3.0 
Summary0022724: Status dropdown list not consistent between pages
Description

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().

Additional Information

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.

TagsNo tags attached.

Activities

There are no notes attached to this issue.