Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005915TestLinkTest Plan - Add/Remove Test Casespublic2013-09-12 18:252013-09-13 09:54
Reporterrebeccafan 
Assigned Tofman 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSRedhat Linux enterprise 6.2OS Version
Product Version1.9.7 (2013 Q2 - bug fixing) 
Fixed in Version 
Summary0005915: Get DB Access Error when trying to add test cases
DescriptionGet DB Access Error when trying to add test cases from first level folders (which is the subfolder of the root folder)
Steps To Reproduce1. Try to add a big set of test cases (for example, over 300 test cases) from 1st level folder. Note that there are 3 levels of subfolders within this folder.

2. The page returns with DB errors:

 DB Access Error - debug_print_backtrace() OUTPUT START

 ==============================================================================

#0 database->exec_query() called at [/opt/lampp/htdocs/testlink/lib/functions/database.class.php:639]
#1 database->fetchRowsIntoMap() called at [/opt/lampp/htdocs/testlink/lib/functions/testplan.class.php:625]
0000002 testplan->tcversionInfoForAudit() called at [/opt/lampp/htdocs/testlink/lib/functions/testplan.class.php:653]
0000003 testplan->link_tcversions() called at [/opt/lampp/htdocs/testlink/lib/plan/planAddTC.php:88]

 ==============================================================================

 ==============================================================================

 DB Access Error - debug_print_backtrace() OUTPUT START

 ==============================================================================

#0 database->exec_query() called at [/opt/lampp/htdocs/testlink/lib/functions/testplan.class.php:669]
#1 testplan->link_tcversions() called at [/opt/lampp/htdocs/testlink/lib/plan/planAddTC.php:88]

 ==============================================================================

3. Some of the test cases are added to the test plan, but some are not, and I can't add them from this view (or layer).
Additional InformationNote that if I go to the 2nd or 3rd level sub-folders, I can still add those test cases.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MYSQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Files

- Relationships
duplicate of 0005372closedfman Add 400 test cases to test plan at one time, only 242 cases are added 

-  Notes
(0019613)
fman (administrator)
2013-09-13 05:56

issue is a duplicate, that is releated to PHP setting
already explained in mantis.
solution:
do searchs here without status filter (default is exclude CLOSED)
and on www.teamst.org forum
(0019616)
fman (administrator)
2013-09-13 09:54

Is not TL issue but PHP setting:
See http://www.teamst.org/forum/viewtopic.php?f=11&t=7124&p=17274&sid=b8f2d6a7d49c9a9351c4cd895f2333ae#p17274 [^] [^]

SOLVED WITH:
In php.ini I changed max_input_vars = 1000 to max_input_vars = 10000


Read:
http://stackoverflow.com/questions/9496 [^] [^] ... checkboxes
http://stackoverflow.com/questions/1038 [^] [^] ... new-server


ATTENTION check if this settings work with your PHP VERSION (seems to need > 5.3.9)

- Issue History
Date Modified Username Field Change
2013-09-12 18:25 rebeccafan New Issue
2013-09-13 05:56 fman QA Team - Task Workflow Status TBD => READY FOR TESTING
2013-09-13 05:56 fman Note Added: 0019613
2013-09-13 05:56 fman Status new => closed
2013-09-13 05:56 fman Assigned To => fman
2013-09-13 05:56 fman Resolution open => no change required
2013-09-13 09:54 fman Note Added: 0019616
2013-09-13 09:54 fman Relationship added duplicate of 0005372



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker