MantisBT - TestLink
View Issue Details
0003846TestLinkTest Plan (builds, milestones, test assign)public2010-10-05 04:422010-11-16 01:10
skilletaudio 
asimon 
normalmajoralways
closedfixed 
Firefox3 + PostgresWindows Vista
testlink_1_9_rc1-qa-20100926 
1.9 RC 1 
postgres
FF 3
5.2.1
0003846: TL-32 copy test plan does not copy test assignments
TL-32 test case, copy test plan with all options checked.
Create a test plan with all features reasonably complete (users, test cases, platforms, test cases assigned to tester, test results).

Create a new test plan as copy of this plan with all optons checked.

The test assignments are not copied (tests are unassigned).
A DB backtrace is printed.
 ==============================================================================

 DB Access Error - debug_print_backtrace() OUTPUT START

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

#0 database->exec_query(/* Class:testplan - Method: copy_linked_tcversions */ INSERT INTO testplan_tcversions (testplan_id,tcversion_id,platform_id,node_order,urgency) VALUES(12,8,1, 1000,3)) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1532]
#1 testplan->copy_linked_tcversions(5, 12, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest), ) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1398]
0000002 testplan->copy_as(5, 12, copy all current, 1, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest)) called at [/var/www/html/tl19/lib/plan/planEdit.php:172]

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

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

 DB Access Error - debug_print_backtrace() OUTPUT START

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

#0 database->exec_query(/* Class:testplan - Method: copy_linked_tcversions */ INSERT INTO testplan_tcversions (testplan_id,tcversion_id,platform_id,node_order,urgency) VALUES(12,8,2, 1000,3)) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1532]
#1 testplan->copy_linked_tcversions(5, 12, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest), ) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1398]
0000002 testplan->copy_as(5, 12, copy all current, 1, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest)) called at [/var/www/html/tl19/lib/plan/planEdit.php:172]

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

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

 DB Access Error - debug_print_backtrace() OUTPUT START

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

#0 database->exec_query(/* Class:testplan - Method: copy_linked_tcversions */ INSERT INTO testplan_tcversions (testplan_id,tcversion_id,platform_id,node_order,urgency) VALUES(12,10,1, 1010,1)) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1532]
#1 testplan->copy_linked_tcversions(5, 12, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest), ) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1398]
0000002 testplan->copy_as(5, 12, copy all current, 1, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest)) called at [/var/www/html/tl19/lib/plan/planEdit.php:172]

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

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

 DB Access Error - debug_print_backtrace() OUTPUT START

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

#0 database->exec_query(/* Class:testplan - Method: copy_linked_tcversions */ INSERT INTO testplan_tcversions (testplan_id,tcversion_id,platform_id,node_order,urgency) VALUES(12,10,2, 1010,1)) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1532]
#1 testplan->copy_linked_tcversions(5, 12, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest), ) called at [/var/www/html/tl19/lib/functions/testplan.class.php:1398]
0000002 testplan->copy_as(5, 12, copy all current, 1, 1, Array ([items2copy] => Array ([copy_tcases] => 1,[copy_priorities] => 1,[copy_milestones] => 1,[copy_user_roles] => 1,[copy_builds] => 1,[copy_platforms_links] => 1),[copy_assigned_to] => 1,[tcversion_type] => latest)) called at [/var/www/html/tl19/lib/plan/planEdit.php:172]

 ==============================================================================
No tags attached.
Issue History
2010-10-05 04:42skilletaudioNew Issue
2010-10-05 07:59JulianAssigned To => asimon
2010-10-05 07:59JulianStatusnew => assigned
2010-10-06 13:58asimonNote Added: 0011656
2010-10-06 13:58asimonStatusassigned => resolved
2010-10-06 13:58asimonFixed in Version => 1.9 RC 1
2010-10-06 13:58asimonResolutionopen => fixed
2010-10-09 08:00fmanNote Added: 0011702
2010-10-09 08:00fmanStatusresolved => closed

Notes
(0011656)
asimon   
2010-10-06 13:58   
Fixed in CVS.
(0011702)
fman   
2010-10-09 08:00   
Release 1.9 RC1