MantisBT - TestLink
View Issue Details
0003471TestLinkGeneralpublic2010-05-18 13:322010-08-31 20:29
1.9 Beta 3 
1.9 Beta 5 
0003471: calls fail when name contains spaces
The javascript function takes three parameters: URL, name and features. By the DOM definition the name parameter must only contain alphanumeric characters and underscores. However in testlink often names that contain spaces are used.
All these spaces in the name parameters must be removed. If variables are used to fill in the name, care must be taken that the value of these variables must not contain spaces either.
Example: Try to open the window to import test results via XML files in IE7 or IE8. You cannot open the window because the name parameter contains spaces.
In the example given above, the javascript function openImportResult in gui/javascript/test_automation.js is called, which in turn calls and passes the value of $labels.import_xml_results as the name parameter. However this string contains spaces and therefore the call fails.

openLinkedReqSpecWindow in gui/javascript/testlink_library.js does the same and doesn't work either.
No tags attached.
zip (7,820) 2010-05-18 19:27
Issue History
2010-05-18 13:32twelveNew Issue
2010-05-18 17:40fmanNote Added: 0010056
2010-05-18 19:27fmanFile Added:
2010-05-18 19:28fmanStatusnew => resolved
2010-05-18 19:28fmanFixed in Version => 1.9 Beta 5
2010-05-18 19:28fmanResolutionopen => fixed
2010-05-18 19:28fmanAssigned To => fman
2010-08-31 20:29fmanNote Added: 0011203
2010-08-31 20:29fmanStatusresolved => closed

2010-05-18 17:40   
know issue, please update to 1.9 beta 4 and retest
2010-08-31 20:29   
Release BETA 6 - 20100831