Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007480TestLinkTest Plan - Add/Remove Test Casespublic2016-03-24 14:452016-03-31 13:19
Reporterjonsnowy 
Assigned Tofman 
PrioritynormalSeverityblockReproducibilityalways
StatusassignedResolutionopen 
Platformx86-64OSWindowsOS Version7 64Bit
Product Version1.9.14 (2015 Q3) 
Fixed in Version 
Summary0007480: Crash when adding test cases to plan from multiple test suites
DescriptionRecieved the following error when attempting to add test cases to a test plan.



      issue to development TEAM.
 ==============================================================================
#0 database->exec_query(/* Class:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [/export/home/lamp/html/testlink-ce/lib/functions/database.class.php:554]
#1 database->fetchFirstRow(/* Class:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [/export/home/lamp/html/testlink-ce/lib/functions/database.class.php:574]
0000002 database->fetchOneValue(/* Class:testproject - Method: getTestCasePrefix */ SELECT prefix FROM testprojects WHERE id = ) called at [/export/home/lamp/html/testlink-ce/lib/functions/testproject.class.php:1043]
0000003 testproject->getTestCasePrefix() called at [/export/home/lamp/html/testlink-ce/lib/functions/testcase.class.php:1611]
0000004 testcase->getPrefix() called at [/export/home/lamp/html/testlink-ce/lib/functions/testplan.class.php:620]
0000005 testplan->tcversionInfoForAudit(273887, Array ([378624] => )) called at [/export/home/lamp/html/testlink-ce/lib/functions/testplan.class.php:659]
0000006 testplan->link_tcversions(273887, Array ([tcversion] => Array ([378624] => ),[platform] => Array ([0] => 0),[items] => Array ([378624] => Array ([0] => ))), 17) called at [/export/home/lamp/html/testlink-ce/lib/plan/planAddTC.php:797]
0000007 addToTestPlan(database Object ([db] => ADODB_mysql Object ([databaseType] => mysql,[dataProvider] => mysql,[hasInsertID] => 1,[hasAffectedRows] => 1,[metaTablesSQL] => SELECT TABLE_NAME, CASE WHEN TABLE_TYPE = 'VIEW' THEN 'V' ELSE 'T' END FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA=SCHEMA(),[metaColumnsSQL] => SHOW COLUMNS FROM `%s`,[fmtTimeStamp] => 'Y-m-d H:i:s',[hasLimit] => 1,[hasMoveFirst] => 1,[hasGenID] => 1,[isoDates] => 1,[sysDate] => CURDATE(),[sysTimeStamp] => NOW(),[hasTransactions] => ,[forceNe ...
Steps To ReproduceTest Spec setup with the following structure:
Parent > L1 > L2 > L3 > L4 > L5 > Test Cases

In Add/Remove Test Cases, selected L3, selected a build, selected "adding", ticked all test cases and selected "Add/Remove selected".
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql
BrowserChrome Version 49.0.2623.87 m
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0024633)
fman (administrator)
2016-03-24 15:19
edited on: 2016-03-24 15:22

Dear user
hope you can understand that adding a note like do not help.
When having to provide lot of info please attach a text file

In addition detailed steps to reproduce are missing, making impossible any action in this ticket other that require the details.
Please give a look to forum.testlink.org for instructions.
Without detailed steps to reproduce ticket will be closed

Right now when editing description to remove lot of text I've found the detailed steps, that in any case are not detailed enough.

How many test plan exists?
How many builds?
How many test cases Inside each test suite ?

What is requested is

1) Create Test Project TPROJ01
2) Create Test SUite L1
3) Create inside L1 Test Suite L2

and so on

(0024634)
jonsnowy (reporter)
2016-03-24 15:51

I have changed the name of the projects, plans etc for confidentiality:

1) Create Test Project TPROJ01. 10 other test projects exist
2) Create Test Plans PLAN1, PLAN2, PLAN3, PLAN4, PLAN5, PLAN6, PLAN7
3) Create Test Suite inside L2 called L3. L3 has children L4 > L5 > L6 > Test Cases
4) Each L6 has between 3 and 126 Test Cases. Total Test Cases inside all L3 children is 1206
5) Attempt to add all 1206 test cases to Build1 fails with the error. Attempt to add one L4 with 315 test cases to Build1 fails with the same error. It appears that some Test Cases get added and some don't.

Note there are 4 builds specified.
(0024635)
fman (administrator)
2016-03-24 15:54

A dbdump of your installation will be a must
(0024649)
jonsnowy (reporter)
2016-03-29 08:24

How do I get a dbdump?
(0024650)
fman (administrator)
2016-03-29 09:23

do you need to talk to your sysadmin guys or google for MySQL how to backup
(0024658)
jonsnowy (reporter)
2016-03-31 12:08

There is no possible way to do a dbdump without exposing confidential information. The information already given is as much as I can give without breaching confidentiality.
(0024659)
fman (administrator)
2016-03-31 13:19

I'm going to test with this limited info

- Issue History
Date Modified Username Field Change
2016-03-24 14:45 jonsnowy New Issue
2016-03-24 15:19 fman Note Added: 0024633
2016-03-24 15:20 fman QA Team - Task Workflow Status => TBD
2016-03-24 15:20 fman Description Updated View Revisions
2016-03-24 15:22 fman Note Edited: 0024633 View Revisions
2016-03-24 15:22 fman Assigned To => fman
2016-03-24 15:22 fman Status new => feedback
2016-03-24 15:51 jonsnowy Note Added: 0024634
2016-03-24 15:51 jonsnowy Status feedback => assigned
2016-03-24 15:54 fman Note Added: 0024635
2016-03-26 17:00 fman Status assigned => feedback
2016-03-29 08:24 jonsnowy Note Added: 0024649
2016-03-29 08:24 jonsnowy Status feedback => assigned
2016-03-29 09:23 fman Note Added: 0024650
2016-03-31 12:08 jonsnowy Note Added: 0024658
2016-03-31 13:19 fman Note Added: 0024659



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker