View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013683 | mantisbt | bugtracker | public | 2011-12-15 11:21 | 2014-09-23 18:05 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.8 | ||||
Target Version | 1.2.9 | Fixed in Version | 1.2.9 | ||
Summary | 0013683: Unchanged workflow settings highlighted as overridden | ||||
Description | In the Workflow Thresholds page (manage_config_work_threshold_page.php), changing some settings causes other options to be highlighed as "All Project settings override default configuration". For example:
| ||||
Tags | No tags attached. | ||||
This caused incorrect highlighting of some settings as being overriden in the Workflow Thresholds page, more specifically those configs defined as having the same value as another one, e.g. $g_update_bug_assign_threshold = '%handle_bug_threshold%' When config_eval() is called from config_get_global() to resolve a recursive config definition, it should call config_get_global() in return. The problem was fixed by adding an optional parameter to config_eval() to specify if it is called in a global context or not. |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master f310ad92 2011-12-15 03:21 Details Diff |
Inconsistent config_eval behavior with global configs When config_eval() is called from config_get_global() to resolve a recursive config definition, it should call config_get_global() in return. This caused incorrect highlighting of some settings as being overriden in the Workflow Thresholds page, more specifically those configs defined as having the same value as another one, e.g. $g_update_bug_assign_threshold = '%handle_bug_threshold%' The problem was fixed by adding an optional parameter to config_eval() to specify if it is called in a global context or not. Fixes 0013683 |
Affected Issues 0013683 |
|
mod - core/config_api.php | Diff File | ||
MantisBT: master-1.2.x 74dc5496 2011-12-15 03:21 Details Diff |
Inconsistent config_eval behavior with global configs When config_eval() is called from config_get_global() to resolve a recursive config definition, it should call config_get_global() in return. This caused incorrect highlighting of some settings as being overriden in the Workflow Thresholds page, more specifically those configs defined as having the same value as another one, e.g. $g_update_bug_assign_threshold = '%handle_bug_threshold%' The problem was fixed by adding an optional parameter to config_eval() to specify if it is called in a global context or not. Fixes 0013683 |
Affected Issues 0013683 |
|
mod - core/config_api.php | Diff File |