TestLink导入需求类测试用例的时候,报下面错误:
前台页面报的错误
#0 database->exec_query() called at [C:\xampp\htdocs\testlink\lib\functions\requirement_mgr.class.php:1000]
#1 requirement_mgr->assign_to_tcase() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:668]
#2 processRequirements() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:453]
#3 saveImportedTCData() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:938]
#4 importTestSuitesFromSimpleXML() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:945]
#5 importTestSuitesFromSimpleXML() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:945]
#6 importTestSuitesFromSimpleXML() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:169]
#7 importTestCaseDataFromXML() called at [C:\xampp\htdocs\testlink\lib\testcases\tcImport.php:76]
后台日志报的错误:
Query failed: errorcode[1064]
errormsg:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2013-10-21 10:07:18')' at line 1
[13/Oct/21 08:07:18][AUDIT][ftp6i7qei5rdhl2aruqrspg3g1][GUI]
Requirement with title '编号XQ3' was assigned to the Test Case '需求NO-2编号XQ2--测试第三环节'
报错是由于插入需求覆盖表req_coverage的SQL有问题,其中author_id传入的字符串
修改程序:
testlink\lib\testcases\tcImport.php 668行,
$reqMgr->assign_to_tcase($cachedReqSpec[$value[ 'req_spec_title']]['req' ][$value['doc_id']],$tcaseId,1);
加入传入 author_id 字段,由于项目的需求,默认写成 1 ,为admin用户
分享到:
相关推荐
tesklink1.9.8 中文包优化不完全,自行优化修改处理后,基本已经实现完全中文。
NULL 博文链接:https://youyou888856.iteye.com/blog/2404120
linux nginx-1.9.8 下载解压后得到安装包nginx-1.9.8.tar.gz
信呼协同办公OA系统是开源的一款办公系统,跨平台的系统,支持APP,pc网页版,pc客户端等。...信呼协同办公系统 v1.9.8 更新日志:日期:2019-09-231、完善系统安全性。2、系统优化等。3、APP完善会话管理功能。
SQLiteSpy_1.9.8中文原版,小巧灵活,非常方便
apache-ant-1.9.8-bin.zip
haproxy-1.9.8.tar.gz 小型的LVS,负载均衡很不错哦! 官网很容易墙,分享出来http://www.haproxy.org/download/1.9
jackson-all-1.9.8.jar
notecase-1.9.8_setup.exe windows 安装源文件,notecase-1.9.8_setup.exe windows 安装源文件,
以太坊客户端geth-windows-1.9.8 因为官网国内无法访问无法下载最新版1.9.13 故分享可用较新版本1.9.8
testlink安装包testlink-1.9.8.tar
NoteCase笔记软件,一款简单易用的笔记软件,本资源的版本为1.9.8,完全绿色,没有任何广告,本资源里面包含windows版本和Linux版本,同一份笔记可在两个平台下打开
phantomjs 1.9.8版本,方便大家使用和下载。最新版修改了很多问题。
NoteCase是一款层次分明,管理高效的笔记管理工具,可以帮助用户将每天的笔记内容有效整理。该软件将所有的笔记内容存放在一个文件中,每个笔记又是以树形结构排列。NoteCase为了保证用户个人的私密信息的安全性,还...
线缆要求GPIB,不支持RS232,支持大部分Keithley仪器,不支持皮安表,纳伏表,较新的DMM6500 DAQ6510等
这里有一个已经写好的获取PhantomJSDriver的工具类 public static WebDriver getPhantomJs() { String osname = System.getProperties().getProperty("os.name"); if (osname.equals("Linux")) {//判断系统的...
jackson-core-asl-1.9.8.jar jackson-mapper-asl-1.9.8.jar
phantomjs-1.9.8-linux-x86_64.tar 官方地址 http://phantomjs.org/download.html
NoteCase 可以在 Linux/Unix 和 Windows 平台运行,采用 BSD 软件许可协议。我主要使用 NoteCase 来写读书笔记。对于学习者是一个非常好的笔记软件。特别是linux上做笔记。这个适用是linux平台 。
p2p资料分享工具。