deactivate test case delete custom field information

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
andreasfrick
TestLink user
Posts: 10
Joined: Sat Jan 08, 2022 3:32 pm

deactivate test case delete custom field information

Post 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)
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: deactivate test case delete custom field information

Post by fman »

Would you mind to do a fresh install of github code from branch testlink_1_9_20_fixed and retest?
andreasfrick
TestLink user
Posts: 10
Joined: Sat Jan 08, 2022 3:32 pm

Re: deactivate test case delete custom field information

Post 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?
andreasfrick
TestLink user
Posts: 10
Joined: Sat Jan 08, 2022 3:32 pm

Re: deactivate test case delete custom field information

Post 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.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: deactivate test case delete custom field information

Post by fman »

You can use a local installation,without issues
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: deactivate test case delete custom field information

Post by fman »

I've confirmed the issue
Would you mind to open the issue on mantis?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: deactivate test case delete custom field information

Post 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]);
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: deactivate test case delete custom field information

Post by fman »

andreasfrick
TestLink user
Posts: 10
Joined: Sat Jan 08, 2022 3:32 pm

Re: deactivate test case delete custom field information

Post by andreasfrick »

Thanks for opening the issue
Post Reply