[RESOLVED] How to disable the removal of Testcases from TP

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
bognar
TestLink user
Posts: 6
Joined: Thu Aug 04, 2011 7:33 am

[RESOLVED] How to disable the removal of Testcases from TP

Post by bognar »

Hi.

Is it possible (by already implemented setting) to disable/forbid the TestCase removal from TestPlan? Or disable the removal of (at least once) executed TC from TP.
We want to minimize the possibility of data loss - if a person with appropriate rights removes an already executed TC from TP, results get deleted from database as well, without an option of restoring them.
I know the "add/remove TCs from TP" already shows a "lightning" sign as an warning next to the "remove this TC" checkbox, but people make mistakes.

I haven't found any setting that would accomplish this.
Last edited by bognar on Fri Sep 02, 2011 12:12 pm, edited 1 time in total.
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Re: How to disable the removal of Testcases from Testplan

Post by Amaradana »

There is no setting, if you remove test case from test plan, all your results will be removed.
Thanks,
TesterWorld
Http://amartester.blogspot.com
bognar
TestLink user
Posts: 6
Joined: Thu Aug 04, 2011 7:33 am

Re: How to disable the removal of Testcases from Testplan

Post by bognar »

Okay, I found the setting I was asking for:

Code: Select all

$tlCfg->testcase_cfg->can_remove_executed = DISABLED;
Problem is, that currently it is not working. I've posted an issue in the TestLink Mantis.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: How to disable the removal of Testcases from Testplan

Post by fman »

issue exists ONLY when using Platforms and have been fixed
Post Reply