how can i change the length of the test case title field?
Moderators: Amaradana, TurboPT, TL Developers
how can i change the length of the test case title field?
I am trying to increase the length of the test case title field and cant find the correct table in the database. can anyone help me out?
change length of the test case field in the ui
So extra information:
I'm using mysql and I found the table and was able to change it. i tested by doing some inserts using sql cmds. i verified the changes worked by looking at TL's UI.
the problem comes when i open the test case with the new longer title, the ui only shows a specific number of char and when you open it to edit the test case, it truncates the title back to it's original (shortened length).
so i need to find how to change length of the test case field in the ui.
does anyone know how to do that?
I'm using mysql and I found the table and was able to change it. i tested by doing some inserts using sql cmds. i verified the changes worked by looking at TL's UI.
the problem comes when i open the test case with the new longer title, the ui only shows a specific number of char and when you open it to edit the test case, it truncates the title back to it's original (shortened length).
so i need to find how to change length of the test case field in the ui.
does anyone know how to do that?
Reconsider if you definitely need to extend the field. Maybe you can copy full name into summary and use truncated one.
Otherwise you could have problems in future with upgrades.
We applies some checks on GUI level. So it could be your case. Smarty templates component allows modifiers for passed variables. See a template for the page.
Otherwise you could have problems in future with upgrades.
We applies some checks on GUI level. So it could be your case. Smarty templates component allows modifiers for passed variables. See a template for the page.
Smarty Template
thanks for the reply...
I have a couple of questions.
what is a smarty template?
is there a way to set up a template with predefined text in 'summery' section?
where are the checks on the gui level done? what file?
I have a couple of questions.
what is a smarty template?
is there a way to set up a template with predefined text in 'summery' section?
where are the checks on the gui level done? what file?
-
- TestLink user
- Posts: 4
- Joined: Thu Aug 21, 2008 12:01 am
Little help please
I am also trying to increase the length of the test case title field, but I can not find it in the schema. Which field in which table is it?
Basically I've noticed that when I import test cases in with a script, the title can be longer, then when I enter test cases using test link.
Thanks for the assist.
Tom
Basically I've noticed that when I import test cases in with a script, the title can be longer, then when I enter test cases using test link.
Thanks for the assist.
Tom
-
- TestLink user
- Posts: 4
- Joined: Thu Aug 21, 2008 12:01 am
Ok my coworker and I came up with the answers, so here they are for future generations of testlink pioneers!
The field is "name" and its in the "nodes_hierarchy" table. That field is set to 2K chars so the limit is actually enforced by the input_dimensions.conf file, which is a smarty config file, used for the templates which drive the gui of testlink.
In the section labled [tcNew] in this .conf file increase the parameter TESTCASE_NAME_MAXLEN from its default of 75 to your desired amount.
I set it to 2000 to be consistent with the db.
Test link is a great tool and I appreciate the work you guys do!
The field is "name" and its in the "nodes_hierarchy" table. That field is set to 2K chars so the limit is actually enforced by the input_dimensions.conf file, which is a smarty config file, used for the templates which drive the gui of testlink.
In the section labled [tcNew] in this .conf file increase the parameter TESTCASE_NAME_MAXLEN from its default of 75 to your desired amount.
I set it to 2000 to be consistent with the db.
Test link is a great tool and I appreciate the work you guys do!