Test Case Title in TL 1.9.2

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
mstark
TestLink user
Posts: 4
Joined: Fri Nov 02, 2012 7:41 pm

Test Case Title in TL 1.9.2

Post 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)
mstark
TestLink user
Posts: 4
Joined: Fri Nov 02, 2012 7:41 pm

Re: Test Case Title in TL 1.9.2

Post 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
img_matd
TestLink user
Posts: 1
Joined: Thu Nov 13, 2014 8:27 pm

Re: Test Case Title in TL 1.9.2

Post 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?
Post Reply