繁体   English   中英

螳螂自定义状态仅在设置时更改新状态?

[英]mantis custom status only changing new status when set?

所以我按照这里的教程https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html/admin.customize.status.html在我的 config_inc.ZE1BFDZI02321E409CEE4

$g_status_enum_string = '10:reported,20:development_pending,30:development_in_progress,40:qa_pending,50:qa_in_progress,60:return_to_development,70:qa_completed,80:deployed_to_production,90:closed';

在 custom_constants_inc.php 我有

define( 'REPORTED', 10 );
define( 'DEVELOPMENT_PENDING', 20 );
define( 'DEVELOPMENT_IN_PROGRESS', 30 );
define( 'QA_PENDING', 40 );
define( 'QA_IN_PROGRESS', 50 );
define( 'RETURN_TO_DEVELOPMENT', 60 );
define( 'QA_COMPLETED', 70 );
define( 'DEPLOYED_TO_PRODUCTION', 80 );
define( 'CLOSED', 90 );

当我加载它时,我只看到“return_to_development”和“qa_completed”已经改变,字符串的 rest 仍然是旧的。 而这两个是唯一的新状态码,所以我不确定如何让系统识别我更改了原始状态码? 同样在工作流转换页面中,新的名称被列为“@60@ @70@”,并且 rest 仍然使用旧名称。 就像它没有拿起custom_constants_inc.php?

先感谢您。

好的,我想通了。 我错过了我需要在 custom_strings_inc.php 中定义“$s_status_enum_string =...”

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM