Page 1 of 1

Test Case Title in TL 1.9.2

Posted: Mon Nov 19, 2012 11:57 pm
by mstark
Does anyone know the option to change the test case title length in 1.9? I see a reference for it in 1.8 but the fields have changed. First you need to allow for input to be higher than 100, but there seems to be a second field for when it saves. The title truncates to 100 characters even though mssql has been updated to allow up to 256. Any thoughts?


Reference for 1.8: http://www.teamst.org/forum/viewtopic.php?f=9&t=3093

To allow 255 characters to be typed in to the UI:
Edit: input_dimensions.conf
[tcNew]
TESTCASE_NAME_SIZE=50
TESTCASE_NAME_MAXLEN=255

To allow 255 characters to be stored into mssql:
ALTER TABLE [dbo].nodes_hierarchy
ALTER COLUMN name [nvarchar](255)

Re: Test Case Title in TL 1.9.2

Posted: Mon Dec 17, 2012 7:43 pm
by mstark
Just to let everyone know, I was able to find the third place this needs to be updated. I have included the steps needed below:

Stop TestLInk Prod instance website
Edit: %TestLink_ROOT%\gui\templates\input_dimensions.conf and Update the following: TESTCASE_NAME_MAXLEN=255
Edit: %TestLink_ROOT%\custom_config.inc.php and Add the following:
/** Added max testcase and test suite length */
$g_field_size->testcase_name = 255;
Run the following against your database. Example is using MSSQL with server named server and database named testlink19:
use testlink19
ALTER TABLE [dbo].nodes_hierarchy
ALTER COLUMN name [nvarchar](255)
Start TestLInk Prod instance website

Re: Test Case Title in TL 1.9.2

Posted: Wed Oct 28, 2015 11:58 am
by img_matd
I've just tried these three steps on 1.9.13 and it works for me but I'm finding that the Copy Test Case function is cropping the Test Case Title back to 100 characters. Does anyone know if there's a further config change to fix this?