TeskLink 1.9.8bug - 수요 클래스 testcase 가 져 오기 오류

1842 단어 test
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 에 문제 가 있 습 니 다. 그 중에서 authorid 들 어 오 는 문자열
수정 프로그램:
testlink \ \ lib \ testcase \ \ tcImport. php 668 줄,
  $reqMgr->assign_to_tcase($cachedReqSpec[$value[ 'req_spec_title']]['req' ][$value['doc_id']],$tcaseId,1);
가입 authorid 필드, 프로젝트 의 수요 로 인해 기본적으로 1 로 작성 하여 admin 사용자 입 니 다.

좋은 웹페이지 즐겨찾기