Page 1 of 1
deactivate test case delete custom field information
Posted: Fri Jan 21, 2022 10:58 am
by andreasfrick
Hi,
when deactivating a testcase version, the information of the custom fields get lost.
Is there a way to avoid this, or is this on purpose?
My workaround is to use keywords instead. They remain after deactivating the testcase as well as added platforms on design.
Thanks in advance
(local Windows 10 installation of TestLink 1.9.20 DEV BITNAMI)
Re: deactivate test case delete custom field information
Posted: Tue Jan 25, 2022 1:36 pm
by fman
Would you mind to do a fresh install of github code from branch testlink_1_9_20_fixed and retest?
Re: deactivate test case delete custom field information
Posted: Tue Jan 25, 2022 3:49 pm
by andreasfrick
I am a little bit worried about export and import issues of my excisting testcases and settings after deinstall and reinstall another version.
Is it possible to do run a second local installation?
Re: deactivate test case delete custom field information
Posted: Wed Jan 26, 2022 7:37 am
by andreasfrick
I don't have the possibility yet to install TestLink on a server, I use the local installation packed by BITNAMI.
When I understand right, the github code from branch testlink_1_9_20_fixed is not available for a local installation.
This is why I can't retest this topic with the testlink_1_9_20_fixed version by myself.
Re: deactivate test case delete custom field information
Posted: Thu Jan 27, 2022 8:51 pm
by fman
You can use a local installation,without issues
Re: deactivate test case delete custom field information
Posted: Thu Jan 27, 2022 8:55 pm
by fman
I've confirmed the issue
Would you mind to open the issue on mantis?
Re: deactivate test case delete custom field information
Posted: Thu Jan 27, 2022 10:04 pm
by fman
quick fix
testcaseCommands.class.php
in function setActiveAttr(&$argsObj,$request) {
change
$this->show($argsObj,$request,array('status_ok' => 1));
to
$this->show($argsObj,$request,['status_ok' => 1],['updateCFOnDB' => false]);
Re: deactivate test case delete custom field information
Posted: Thu Jan 27, 2022 10:17 pm
by fman
Re: deactivate test case delete custom field information
Posted: Fri Jan 28, 2022 7:12 am
by andreasfrick
Thanks for opening the issue