Page 1 of 1

Max length for test case fields?

Posted: Tue Feb 16, 2010 1:00 pm
by fishfan77
I did do a search on this topic and got a lot of results but none of them really had the answers i needed. We have a couple testers that are saying that the test case text box is limited and keeps cutting off at a certain point. 1)What is the length limit 2) where/what is the setting to change (if possible) to change this?

Thanks for the help. We have just setup testlink and are trying to get full team "buy in" and little issues like this i would like to have an answer/fix for...

Posted: Tue Feb 16, 2010 1:42 pm
by difool
The answer depends of the editor chosen.

Look at the configuration file of the editor used.

Posted: Tue Feb 16, 2010 2:40 pm
by fishfan77
FCK editor. There wasnt much in the config file. I was able to set the editor window size and enable the spell checker, I am looking to change the test case field size.

Posted: Tue Feb 16, 2010 3:56 pm
by fishfan77
To further clarify, I am talking about the actual field that has STEPS and the field that has EXPECTED RESULTS. It looks like it got cut off with about 3,591 characters in STEPS.

Posted: Tue Feb 16, 2010 4:07 pm
by difool
Currently we have the 1.8.5 in production use with FCKeditor.
We have some test cases longer than 3500 characters (actually 10kl characters) and no problem on this side.

Posted: Tue Feb 16, 2010 4:50 pm
by fishfan77
We are using 1.8.3 and i am definitely seeing this.. Dont know whats going on. I just created a test case with 3,700 characters (including spaces) and it got truncated.

I did copy and paste the test case form another document but made sure i dumped it to notepad first to strip out any "funky" characters.

Posted: Tue Feb 16, 2010 7:52 pm
by difool
At first glance i didn't see any configuration option managing the length of text box of Fckeditor.

Perhpas it exists but as nobody replies you should open an issue onto the tracker of testlink after asked directly on the FckEditor forum.

Posted: Sun Feb 21, 2010 5:32 pm
by havlatm
TestLink has not configuration as much I know. There is open issue regarding the problem when text is longer than DB field limit. I added it on roadmap for 1.9.

Re: Max length for test case fields?

Posted: Thu Jul 15, 2010 10:42 am
by Micha
The text limit is 65,535 bytes for MySQL DB, because the data type of the test case fields is 'text''
See also http://mantis.testlink.org/view.php?id=2929

Re: Max length for test case fields?

Posted: Mon Jul 19, 2010 9:27 am
by jakcam
Hello,

i known this problem for Test Suite name and i fixed it, in doing this :

- Table nodes_hierarchy increase field "name" to 100 -> 255
- Modify testlink/gui/templates/input_dimensions.conf
- line 172 change : SRS_TITLE_MAXLEN = 75 -> SRS_TITLE_MAXLEN = 255
- line 174 change : SRS_SPEC_TITLE_MAXLEN = 75 -> SRS_SPEC_TITLE_MAXLEN = 255

I hope this post can give you some clue to resolve your issue.

Best regards,
Guillaume