View Issue Details

IDProjectCategoryView StatusLast Update
0010071mantisbtadministrationpublic2014-02-07 18:24
Reporterchanghua0313 Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.6 
Target Version1.2.16Fixed in Version1.2.16 
Summary0010071: Manage Workflow Threshold page: 'Who can alter this value' is not saved
Description

[THRESHOLDS THAT AFFECT WORKFLOW] -> Who can alter this value field dose not be saved

In [THRESHOLDS THAT AFFECT WORKFLOW] -> [ Manage Configuration ] -> [Who can alter this value]
The default value of [Who can alter this value] is 'administrator', We change it to other values, such as 'manager', then click 'Update Configuration' button located at the bottom of the page. It seems the new value dose not be saved. It always display 'administrator'. Is is a bug?

TagsNo tags attached.

Relationships

has duplicate 0012983 closedatrol Manage configuration/workflow thresholds/Who can alter this value 
related to 0016411 closeddregad On workflow thresholds page, changes in 'who can alter' are not color-highlighted 

Activities

ubuone

ubuone

2011-08-17 08:54

reporter   ~0029492

Last edited: 2011-08-17 09:11

It does occur only for "All projects" selection. For a specific project, it works. It is annoying for me as I would like to delegate some rights on all projects to managers.
This bug affects "Manage configuration", "Workflow Thresholds" and "Workflow Transitions" for "Who can alter this value" (logged as a global mantis administrator).

atrol

atrol

2013-09-24 11:17

developer   ~0038105

Reproduced with version 1.2.15

dregad

dregad

2013-09-26 09:08

developer   ~0038118

Actually the updated threshold is saved in the database, but not displayed back properly (showing the default 'admin_site_threshold' value instead). A subsequent change on the thresholds for the capability will then reset the 'who can change' threshold to the default value.

Related Changesets

MantisBT: master-1.2.x 281fa5ef

2013-09-26 04:57

dregad


Details Diff
Workflow thresholds page: fix display of 'who can alter'

When the current project is 'All projects' and the admin changes the
'Who can alter value' threshold (e.g. to 'manager'), the changes are saved
in the config table as expected, but not displayed back properly -
mantis shows the default value of 'administrator' (admin_site_threshold)
instead, giving the impression that the settings have not been saved;
another update will then overwrite the previously saved threshold back
to default.

The projects list in config_get_access() was not properly initialized,
set to an empty array when current project is ALL_PROJECTS.

Fixes 0010071
Affected Issues
0010071
mod - core/config_api.php Diff File

MantisBT: master d3833a0d

2013-09-26 04:57

dregad


Details Diff
Workflow thresholds page: fix display of 'who can alter'

When the current project is 'All projects' and the admin changes the
'Who can alter value' threshold (e.g. to 'manager'), the changes are saved
in the config table as expected, but not displayed back properly -
mantis shows the default value of 'administrator' (admin_site_threshold)
instead, giving the impression that the settings have not been saved;
another update will then overwrite the previously saved threshold back
to default.

The projects list in config_get_access() was not properly initialized,
set to an empty array when current project is ALL_PROJECTS.

Fixes 0010071
Affected Issues
0010071
mod - core/config_api.php Diff File