|Anonymous | Login | Signup for a new account||2019-04-19 03:27 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008363||TestLink||Test Specification||public||2018-09-05 16:28||2018-09-06 06:34|
|Product Version||1.9.17 (2018 Q1)|
|Fixed in Version||1.9.18 (2018 Q3)|
|Summary||0008363: Cannot Copy Test Suites in Test Specification - TEST SUITE NAME exceed 100 chars|
|Description||In Test Specification, sometimes users are unable to copy Test Suites. Individual Test Cases copy as expected.|
|Steps To Reproduce||Select a project and go to Test Specification. Click on a Test Suite (folder). Click the Actions gear. By Test Suite Operations, click the Move/Copy icon. On the Move/Copy page, click Copy.|
|Additional Information||Output of error:|
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(INSERT INTO nodes_hierarchy (name,node_type_id,node_order,parent_id) VALUES('20180905-12:13:13 UWF UnFranchise AutoShip Cancel: Cancel both MA and OneCart Draft (Sharan Kotian) (PQ-1823)', 2,30,415391)) called at [/var/www/html/testlink/lib/functions/tree.class.php:162]
#1 tree->new_node(415391, 2, 20180905-12:13:13 UWF UnFranchise AutoShip Cancel: Cancel both MA and OneCart Draft (Sharan Kotian) (PQ-1823), 30) called at [/var/www/html/testlink/lib/functions/testsuite.class.php:192]
0000002 testsuite->create(415391, UWF UnFranchise AutoShip Cancel: Cancel both MA and OneCart Draft (Sharan Kotian) (PQ-1823), As a Data Services employee, I need the ability to cancel an UnFranchiseAutoShip draft Oon the UWF UnFranchise AutoShip Cancel admin tool, so that I canhelp and UnFranchise Owner as needed., 30, 1, generate_new) called at [/var/www/html/testlink/lib/functions/testsuite.class.php:690]
0000003 testsuite->copy_to(416278, 415391, 99, Array ([check_duplicate_name] => 1,[action_on_duplicate_name] => generate_new,[copyKeywords] => 1,[copyRequirements] => 1)) called at [/var/www/html/testlink/lib/testcases/containerEdit.php:816]
0000004 copyTestSuite(TLSmarty Object ( => Array ([active] => http://10.99.110.223/testlink/gui/themes/default/images/flag_green.png,[activity] [^] => http://10.99.110.223/testlink/gui/themes/default/images/information.png,[account] [^] => http://10.99.110.223/t [^]
|Tags||No tags attached.|
|QA Team - Task Workflow Status||READY FOR TESTING|
1) please do not paste kilometric text, but try to put only things that can help
2) please get latest code from github, do fresh install, retest & provide feedback
1) What would you like to me put in that might help?
2) This was installed and QAed just a few days ago. Reinstall is not really an option here.
>> 1) What would you like to me put in that might help?
see how I've modified your original text
>> 2) This was installed and QAed just a few days ago. Reinstall is not really an option here.
having a sandbox is not an option but a need, then you need to do another parallel installation for testing purposes
After the release of a stable release (in this case 1.9.17) , I normally fix issues without generating a new version, and the only option is used latest code present on github.
I've found the issue. The name of the test suite was near the limit of the field length (91 characters out of 100 max). When making a copy of a test suite, a date time is added to the beginning of that suite's name. TestLink does not trim the string before passing it to the database, so it exceeds the field length and causes a DB access error.
Is this corrected in your latest code present on github?
|please do a search on this mantis installation, for similar issues|
anyway using test suite of this lenght generates a problem on navigation on left side tree.
I'm fixing but my suggestion is to educate users to use shorter names with good meaning
|The test suite name was "UWF UnFranchise AutoShip Cancel: Cancel both MA and OneCart Draft (Sharan Kotian) (PQ-1823)" which is about as short and descriptive as it can be at this enterprise level. Perhaps you could add ability to edit the name of the copy so that we don't have to add the entire date time since in our usage that isn't particularly useful.|
|Or perhaps to throw a more meaningful error when TestLink tries to pass a string that's too long for a field.|
>> Perhaps you could add ability to edit the name of the copy so that we don't >>have to add the entire date time since in our usage that isn't particularly
feel free to develop & create a Pull Request
|2018-09-05 16:28||adamh||New Issue|
|2018-09-05 18:07||fman||Note Added: 0027800|
|2018-09-05 18:08||fman||QA Team - Task Workflow Status||=> TBD|
|2018-09-05 18:08||fman||Additional Information Updated||View Revisions|
|2018-09-05 18:08||fman||Assigned To||=> fman|
|2018-09-05 18:08||fman||Status||new => feedback|
|2018-09-05 18:11||adamh||Note Added: 0027802|
|2018-09-05 18:11||adamh||Status||feedback => assigned|
|2018-09-05 18:16||fman||Note Added: 0027803|
|2018-09-05 18:17||fman||Status||assigned => feedback|
|2018-09-05 19:14||adamh||Note Added: 0027804|
|2018-09-05 19:14||adamh||Status||feedback => assigned|
|2018-09-05 19:27||fman||Note Added: 0027805|
|2018-09-05 19:27||fman||Status||assigned => feedback|
|2018-09-05 19:55||fman||Note Added: 0027806|
|2018-09-05 19:56||fman||Summary||Cannot Copy Test Suites in Test Specification => Cannot Copy Test Suites in Test Specification - TEST SUITE NAME exceed 100 chars|
|2018-09-05 19:57||fman||QA Team - Task Workflow Status||TBD => READY FOR TESTING|
|2018-09-05 19:57||fman||Note Added: 0027807|
|2018-09-05 19:57||fman||Status||feedback => resolved|
|2018-09-05 19:57||fman||Fixed in Version||=> 1.9.18 (2018 Q3)|
|2018-09-05 19:57||fman||Resolution||open => fixed|
|2018-09-05 20:51||adamh||Note Added: 0027808|
|2018-09-05 20:53||adamh||Note Added: 0027809|
|2018-09-06 06:33||fman||Note Added: 0027810|
|2018-09-06 06:34||fman||Status||resolved => closed|
|Copyright © 2000 - 2019 MantisBT Team|