MantisBT: master-1.2.x b6f03b73

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2013-01-01 18:22 master-1.2.x 65696fbf
Affected Issues  0014559: Adding filter for "Configuration report"
Changeset

Config report filter: added handling for invalid values in cookie

In some cases, the cookie could contain values which are no longer
applicable as filter criteria, e.g.

  • a project id which has been deleted
  • a user id for whom there are no config options
  • a config id for which there are no config options

The code now correctly handles these, by making sure that either the
filter criteria is dynamically updated to a valid value (ALL_PROJECTS
for projects), or the filter's selection list effectively includes the
invalid value (user id, config id), so that the displayed filter
reflects the actual data listed in the Database Configuration table.

Fixes the bug reported by atrol in issue 0014559's bugnote 34648

mod - adm_config_report.php Diff File