Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008531TestLinkTest Spec. - Test Case relationspublic2019-01-09 18:032019-01-10 07:30
Reporternoliveira 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version 
Summary0008531: Error while add a relation with another test case
DescriptionError while add a relation with another test case
Steps To Reproduce1. Open a test case
2. Insert an ID of another test case and click add
3. Show this error:

#0 database->exec_query( / Class:testcase - Method: addRelation / INSERT INTO testcase_relations (source_id, destination_id, relation_type, author_id, creation_ts) values (1495541,1460168, 3, 53, '2019-01-09 14:55:35')) called at [/var/www/testlink/lib/functions/testcase.class.php:6257]
#1 testcase->addRelation(1495540, 1460167, 3, 53) called at [/var/www/testlink/lib/testcases/testcaseCommands.class.php:1124]
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserChrome
PHP Version5.6.38
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0028413)
fman (administrator)
2019-01-09 19:27

1. DBMS type & version are needed
2. Please try the sql on a sql client to get more info
3. Please get latest code from github, do fresh install, retest & provide feedback
(0028415)
noliveira (reporter)
2019-01-09 21:43

I receive an error at the sql client:

mysql> INSERT INTO testcase_relations (source_id, destination_id, relation_type, author_id, creation_ts) values (1495541,1460168, 3, 53, '2019-01-09 14:55:35');
ERROR 1364 (HY000): Field 'tcase_source_id' doesn't have a default value

Can you help with this error?
(0028416)
fman (administrator)
2019-01-10 07:30

Hi
please

1. DBMS type & version are needed
3. Please get latest code from github, do fresh install, retest & provide feedback

this seems a bad migration

- Issue History
Date Modified Username Field Change
2019-01-09 18:03 noliveira New Issue
2019-01-09 19:27 fman Note Added: 0028413
2019-01-09 19:27 fman Status new => feedback
2019-01-09 21:43 noliveira Note Added: 0028415
2019-01-09 21:43 noliveira Status feedback => new
2019-01-10 07:30 fman Note Added: 0028416



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker