fix(测试跟踪): 功能用例导入文本框字段失败
--bug=1016595 --user=陈建星 【测试跟踪】github#17672,功能用例自定义字段为文本和复文本时,导入失败 https://www.tapd.cn/55049933/s/1239496
This commit is contained in:
parent
7e1c31e429
commit
2535c53693
|
@ -412,7 +412,7 @@ public class TestCaseNoModelDataListener extends AnalysisEventListener<Map<Integ
|
||||||
customData.put(fieldName, customFieldValidator.parse2Key(value.toString(), customField));
|
customData.put(fieldName, customFieldValidator.parse2Key(value.toString(), customField));
|
||||||
}
|
}
|
||||||
if (StringUtils.equalsAny(customField.getType(), CustomFieldType.TEXTAREA.getValue(), CustomFieldType.RICH_TEXT.getValue())) {
|
if (StringUtils.equalsAny(customField.getType(), CustomFieldType.TEXTAREA.getValue(), CustomFieldType.RICH_TEXT.getValue())) {
|
||||||
data.getTextFieldSet().add(fieldName);
|
data.getTextFieldSet().add(customField.getId());
|
||||||
}
|
}
|
||||||
} catch (CustomFieldValidateException e) {
|
} catch (CustomFieldValidateException e) {
|
||||||
stringBuilder.append(e.getMessage().concat(ERROR_MSG_SEPARATOR));
|
stringBuilder.append(e.getMessage().concat(ERROR_MSG_SEPARATOR));
|
||||||
|
|
Loading…
Reference in New Issue