MantisBT - TestLink
View Issue Details
0005397TestLinkRequirement Managementpublic2012-12-05 14:302012-12-05 18:14
YikangMao 
fman 
normalmajoralways
closedfixed 
Window 7
1.9.4 (2012 Q3 - bug fixing) 
1.9.5 (2012 Q4 - bug fixing) 
MySQL
READY FOR TESTING
0005397: "$g_field_size->requirement_title" defined in const.inc.php does not apply to edit/create a requirements (reqEdit.php)
The length allowed for req_title in reqEdit.php is not consistent with the value defined via the constant("$g_field_size->requirement_title") in the const.inc.php if you changed the value of "$g_field_size->requirement_title".
Background:

 We use the testlink for managing our projects, one of them requires a relevant long title for requirement about 120 -130 characters long, which is beyond the current maximum length (100). After searching the help and testlink, I tries to change this by following steps below:

1- Modified the length of the field "name" of "req_revisions", and the length of the field "name" of "nodes_hierarchy".

2- Changed the input dimension of requirement defined in the /testlink/gui/templates/input_dimensions.conf

3- Changed the constant value of "$g_field_size->requirement_title" in const.inc.php

I thought the length should be extended successfully, but I found the length allowed is still 100, after digging it up, I found "100" is used in "regEdit:init_args" (line 76) rather than reading the value from const.inc.php.

I knew it is not really a common situation for others, but I think if you did provide a way to configure this length value, it should be consistent through the whole project.

Could there be another to achieve this rather than changing the value in const.inc.php and input_dimensions.conf, such as custom.const.inc.php or custom.input_dimensions.conf?

Many thanks

Yikang Mao
No tags attached.
Issue History
2012-12-05 14:30YikangMaoNew Issue
2012-12-05 18:04fmanAssigned To => fman
2012-12-05 18:04fmanStatusnew => assigned
2012-12-05 18:11fmanNote Added: 0017975
2012-12-05 18:14fmanTask Workflow StatusTBD => READY FOR TESTING
2012-12-05 18:14fmanStatusassigned => closed
2012-12-05 18:14fmanResolutionopen => fixed
2012-12-05 18:14fmanFixed in Version => 1.9.5 (2012 Q4 - bug fixing)

Notes
(0017975)
fman   
2012-12-05 18:11   
for a config that has to be done ONCE the level of configuration provided is more than enough