Page 1 of 1

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

Posted: Thu Aug 11, 2011 12:43 pm
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.

Re: How to disable the removal of Testcases from Testplan

Posted: Thu Aug 11, 2011 1:23 pm
by Amaradana
There is no setting, if you remove test case from test plan, all your results will be removed.

Re: How to disable the removal of Testcases from Testplan

Posted: Tue Aug 23, 2011 1:23 pm
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.

Re: How to disable the removal of Testcases from Testplan

Posted: Tue Aug 23, 2011 4:12 pm
by fman
issue exists ONLY when using Platforms and have been fixed