MantisBT - TestLink
View Issue Details
0008789TestLinkDatabase MySQLpublic2019-10-28 13:022019-10-30 10:25
sanjeev.basineni 
 
urgentmajoralways
newopen 
LinuxCentOSCentOS7
1.9.17 (2018 Q1) 
 
0008789: We are facing issues while creating testcases
Hi we have migrated from 1.9.13 to 1.9.16, from then getting following error when creating test cases and importing test cases. Please suggest.

DB Access Error - debug_print_backtrace() OUTPUT START
 ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.
#0 database->exec_query(/* Class:testcase - Method: createVersion */ INSERT INTO tcversions (id,tc_external_id,version,summary,preconditions, author_id,creation_ts,execution_type,importance ,status ) VALUES(136411,569,1,'
test1

\r\n','',1,'2019-10-28 17:10:34', 1,2 ,1 )) called at [/var/www/html/testlink-code-1.9.16/lib/functions/testcase.class.php:674]
#1 testcase->createVersion(stdClass Object ([version] => 1,[id] => 136410,[externalID] => 569,[summary] =>
test1

Select the project - add Test Case Operations
No tags attached.
related to 0008790new  unable to create testcases after upgradation 
txt testlink_error1.txt (1,320) 2019-10-28 13:05
http://mantis.testlink.org/file_download.php?file_id=5236&type=bug
Issue History
2019-10-28 13:02sanjeev.basineniNew Issue
2019-10-28 13:05sanjeev.basineniFile Added: testlink_error1.txt
2019-10-28 14:08fmanNote Added: 0029271
2019-10-28 14:08fmanStatusnew => feedback
2019-10-29 05:24sanjeev.basineniNote Added: 0029272
2019-10-29 05:24sanjeev.basineniStatusfeedback => new
2019-10-29 08:04sanjeev.basineniNote Added: 0029273
2019-10-30 10:25fmanRelationship addedrelated to 0008790

Notes
(0029271)
fman   
2019-10-28 14:08   
unfortunately there is no more support for 1.9.16

have you run the sql on a sql client to get more information?
(0029272)
sanjeev.basineni   
2019-10-29 05:24   
Hi, as per your inputs we are upgrading our application with 1.9.19 but while installing getting following error. can you please help on this.



TestLink setup will now attempt to setup the database:

Creating connection to Database Server:OK!

Database testlink19 does not exist.
Will attempt to create:
Creating database `testlink19`:OK!

 ==============================================================================
 DB Access Error - debug_print_backtrace() OUTPUT START
 ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.


Thanks.
(0029273)
sanjeev.basineni   
2019-10-29 08:04   
Hi, we are getting following error after upgraded to 1.9.19.

ERROR ON exec_query() - database.class.php
1292 - Incorrect datetime value: '0000-00-00 00:00:00' for column 'modification_ts' at row 1 - /* Class:testcase - Method: createVersion */ INSERT INTO tcversions (id,tc_external_id,version,summary,preconditions, author_id,creation_ts,execution_type,importance ,status ) VALUES(136399,563,1,'

test

\r\n','',1,'2019-10-29 12:16:31', 1,2 ,1 )
THE MESSAGE : /* Class:testcase - Method: createVersion */ INSERT INTO tcversions (id,tc_external_id,version,summary,preconditions, author_id,creation_ts,execution_type,importance ,status ) VALUES(136399,563,1,'

test

\r\n','',1,'2019-10-29 12:16:31', 1,2 ,1 )
Query failed: errorcode[1292]

could you please help us.

Thanks