View Issue Details

IDProjectCategoryView StatusLast Update
0013683mantisbtbugtrackerpublic2014-09-23 18:05
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.8 
Target Version1.2.9Fixed in Version1.2.9 
Summary0013683: 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:

  • "Handle an issue" highlights "Assign an issue"
  • "Delete an issue" hightlights "Delete note"
TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

dregad

dregad

2011-12-15 11:44

developer   ~0030632

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.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036357

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master f310ad92

2011-12-15 03:21

dregad


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

dregad


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