fix(测试跟踪): 英文环境下,用例导入责任人失败
This commit is contained in:
parent
3a84cdc20e
commit
9350fbbf18
|
@ -400,7 +400,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
|
|||
Object value = customData.get(fieldName);
|
||||
String originFieldName = fieldName;
|
||||
if (TestCaseImportFiled.MAINTAINER.getFiledLangMap().containsValue(fieldName.replace("(ID)", StringUtils.EMPTY))) {
|
||||
fieldName = fieldName.replace("(ID)", StringUtils.EMPTY); // 兼容旧模板的 责任人(ID)
|
||||
fieldName = TestCaseImportFiled.MAINTAINER.getFiledLangMap().get(Locale.SIMPLIFIED_CHINESE); // 兼容旧模板的 责任人(ID)
|
||||
}
|
||||
CustomFieldDao customField = customFieldsMap.get(fieldName);
|
||||
if (customField == null) {
|
||||
|
|
Loading…
Reference in New Issue