MantisBT - TestLink
View Issue Details
0003928TestLinkTest Specificationpublic2010-10-22 13:582010-11-14 12:07
1.9 RC 1 
1.9 (Prague) 
IE / Firefox
0003928: Custom fields are not well displayed
When you put some custom fields before steps the custom field label is align to step numbers and the value to step actions.
To solve the problem I have just copy the colspan option from the other field for the <td> tag.

Index: gui/templates/testcases/inc_tcbody.tpl
--- gui/templates/testcases/inc_tcbody.tpl (révision 13)
+++ gui/templates/testcases/inc_tcbody.tpl (copie de travail)
@@ -55,7 +55,7 @@
        {* 20090718 - franciscom *}
        {if $inc_tcbody_cf.before_steps_results neq ''}
- <td>
+ <td colspan="{$inc_tcbody_tableColspan}">
Create a custom field with a long name (“example field”) and with the type textarea
Assign this custom field to a project and change “location” to “Before steps” instead of “standard”
Go to a test case with some steps
Edit the test case and put a long text in the custom field (a text that can’t be displayed in one line)
Now you can see that the custom fields disturb the appearance of the steps
No tags attached.
png custom_fields_now.PNG (71,571) 2010-10-23 16:36

png custom_fields_with_modification.PNG (72,107) 2010-10-23 16:36
Issue History
2010-10-22 13:58VincentNew Issue
2010-10-22 14:17fmanNote Added: 0012034
2010-10-23 16:36VincentFile Added: custom_fields_now.PNG
2010-10-23 16:36VincentFile Added: custom_fields_with_modification.PNG
2010-10-23 16:51VincentNote Added: 0012058
2010-10-24 07:04JulianAssigned To => Julian
2010-10-24 07:04JulianStatusnew => assigned
2010-10-24 07:22JulianNote Added: 0012059
2010-10-24 07:22JulianStatusassigned => resolved
2010-10-24 07:22JulianFixed in Version => 1.9 (Prague)
2010-10-24 07:22JulianResolutionopen => fixed
2010-11-14 12:07fmanNote Added: 0012542
2010-11-14 12:07fmanStatusresolved => closed

2010-10-22 14:17   
Please follow this advice:
1. give detailed steps to reproduce always
2. use good subjects Custom fields are not well displayed -> is not good because
seems problem occurs if name is long
2010-10-23 16:51   
Because a picture is is more comprehensive than what I could explain in my poor English, I have post tow picture. The first one show how testlink 1.9 RC1 is working. The custom field made the first column of test step too big and the custom field value didn't take the whole line.
The second one show what the page should be (or something like that).

I hope you understand what I have tried to say and sorry for my English.
2010-10-24 07:22   
thank you.

i also added colspan for test case display on execution.
2010-11-14 12:07   
1.9 (Prague) Released