[英]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.