View Issue Details

IDProjectCategoryView StatusLast Update
0006845mantisbtadministrationpublic2017-01-09 09:33
Reporterjiangxin Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0006845: manage_config_workflow_page.php can handle complicate $g_set_status_threshold.
Description

parts of manis codes accept an array as a threshold, but others not.

in core/access_api.php, function access_compare_level() accept an array as its parameter. And in the same file, there is
'$p_access_level = max( $p_access_level, config_get(...) )' not suitable for an array as a access_level.

manage_config_workflow_page.php can not handle a complicate $g_set_status_threshold.

I wrote a patch for this issue.

TagsNo tags attached.
Attached Files
workflow.gif (32,236 bytes)   
workflow.gif (32,236 bytes)   

Relationships

related to 0021655 closedcproensa Workflow config page can corrupt set_status_threshold with array thresholds 

Activities

jiangxin

jiangxin

2006-03-18 04:11

reporter   ~0012361

Howto become a mantis developer. I am interested in mantis developing contribution.

mkornatzki

mkornatzki

2006-04-26 16:58

reporter   ~0012731

thank you.
this functionality is very important and now i can configure mantis as i need.

mkornatzki

mkornatzki

2006-10-22 11:17

reporter   ~0013634

jiangxin do you also write a patch for the management page "email notifications" (manage_config_email_page.php)?

In my configuration all administrators receive a mail on every event. (this works fine)
If i want to configure that for example all users with the access level reporter receive a mail on Status new then all access level between reporter and administrator get marked. In my opinion this is a bug (also in the new version 1.1.0a1)