1.8.3 pop-up "There are currently no testproject define

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
jzhfeng
TestLink user
Posts: 3
Joined: Tue May 26, 2009 9:39 am

1.8.3 pop-up "There are currently no testproject define

Post by jzhfeng »

Hi, I got a bug here.

-----------------------------------------------------------------------------
Version:1.8.3

Steps:
1 you enter a project, create a test plan or delete an existent test plan

actual: you got the pop-up message, "There are currently no testproject defined!". but actually you create the test plan or delete the plan successfully.


expected:create the test plan or delete the test plan successfully.

-----------------------------------------------------------------------------

can anyone help me?

thanks
jzhfeng
TestLink user
Posts: 3
Joined: Tue May 26, 2009 9:39 am

Post by jzhfeng »

i fixed this bug.

Edit file /tl183/lib/plan/planEdit.php.
Add the following line "$smarty->assign('tproject_id',$args->tproject_id);"

after line
"$template = is_null($template) ? 'planView.tpl' : $template;"


thanks
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I checked it. It's already fixed (for 1.8.4). Thanks.
Last edited by havlatm on Thu Jul 23, 2009 8:55 am, edited 1 time in total.
edias
Advanced user
Posts: 34
Joined: Mon Jun 08, 2009 8:59 pm

Post by edias »

any other suggestions to correct this?

I see this in my /tl183/lib/plan/planEdit.php file

case "list":
$tplans = $tproject_mgr->get_all_testplans($args->tproject_id);

$template = is_null($template) ? 'planView.tpl' : $template;
$smarty->assign('tplans',$tplans);
$smarty->display($templateCfg->template_dir . $template);
break;



TIA
Locked