View Issue Details

IDProjectCategoryView StatusLast Update
0012089mantisbtbugtrackerpublic2012-07-13 06:29
Reporterdhx Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version1.2.2 
Summary0012089: Define default value for $g_status_enum_workflow
Description

The default workflow should be defined within $g_status_enum_workflow.

This allows the removal of this code from the bug_check_workflow() function in bug_api.php:


if( count( $t_status_enum_workflow ) < 1 ) {

    # workflow not defined, use default enum
    return true;
}

TagsNo tags attached.

Relationships

child of 0011956 closedjreese Regression in 1.2.1 : no longer obeys Default Value for Workflow Transitions 

Activities

dregad

dregad

2012-07-03 08:45

developer   ~0032229

The default workflow can actually be defined within $g_status_enum_workflow :-)

See documentation: http://mantisbt.org/docs/master-1.2.x/en/administration_guide.html#ADMIN.LIFECYCLE.WORKFLOW.TRANSITIONS

The sample workflow defined in config_default_inc.php illustrates that, and works perfectly in 1.2.x.