MantisBT: master 79c04ca2

Author Committer Branch Timestamp Parent
dhx dhx master 2012-02-24 03:02 master b22da397
Affected Issues  0013937: Versions and Categories from existing filter not preselected when editing it
Changeset

Fix 0013937: Fix check_selected and check_checked functions

These functions were originally designed very loosely with respect to
input data types. This was causing problems in numerous areas where
strings were being compared with integers, etc.

Both functions have been modified such that an error will be generated
when the types are inconsistent. This will force developers to properly
consider the types of variables when coding with MantisBT, ensuring less
likelihood of bugs arising from "1.1"=="1.10", 0=="" comparisons, etc.

Most if not all elements of the UI with drop-down boxes, check boxes,
radio boxes and lists have been thoroughly tested after these changes.
The default state of these UI fields should once again match default
configuration values in config_inc.php, current values of the
field/filter, etc. This greatly improves the usability of the UI.

mod - account_prefs_inc.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - core/filter_api.php Diff File
mod - core/helper_api.php Diff File
mod - core/html_api.php Diff File
mod - core/plugin_api.php Diff File
mod - core/print_api.php Diff File
mod - core/profile_api.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - manage_user_edit_page.php Diff File
mod - tag_update_page.php Diff File