fix(测试跟踪): 英文环境下,用例导入责任人失败
This commit is contained in:
parent
57bb55650f
commit
0de0057909
|
@ -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