MantisBT - TestLink
View Issue Details
0004279TestLinkTest Specificationpublic2011-02-27 04:492011-03-18 19:08
Unhandled 
Julian 
normalminoralways
closedfixed 
1.9.1 (bug fixing) 
1.9.2 (2011 Q2 - bug fixing) 
mysql Ver 14.14 Distrib 5.1.33
firefox, chrome
5.2.9
0004279: After copying test case user feedback at top of frame has encoded HTML
After copying a test case, a user_feedback message is displayed at the top of the frame. The message has HTML markup displayed to the user.
locale/en_US/strings.txt:
$TLS_tc_copied = "Test Case %s was successfully copied to
Test Suite %s";
(Note the line break HTML tag, sixteen other locales also have this so I assume it used to work in the past.)

In Test Specification, copy a test case.
Afterwards, in div at top of frame is the message:
Test Case TestCase_1 was successfully copied to
Test Suite MyTestSuite

View source:
Test Case TestCase_1 was successfully copied to
Test Suite MyTestSuite

Expected result is that tags in the string are not encoded and are left as regular HTML tags.
No tags attached.
png mantis.PNG (16,036) 2011-02-27 04:49
http://mantis.testlink.org/file_download.php?file_id=2197&type=bug
png
Issue History
2011-02-27 04:49UnhandledNew Issue
2011-02-27 04:49UnhandledFile Added: mantis.PNG
2011-02-27 04:54UnhandledNote Added: 0013739
2011-02-27 10:27JulianNote Added: 0013744
2011-02-27 10:27JulianStatusnew => resolved
2011-02-27 10:27JulianFixed in Version => 1.9.2 (2011 Q2 - bug fixing)
2011-02-27 10:27JulianResolutionopen => fixed
2011-02-27 10:27JulianAssigned To => Julian
2011-02-27 10:28JulianNote Added: 0013745
2011-03-18 19:08fmanNote Added: 0013946
2011-03-18 19:08fmanStatusresolved => closed

Notes
(0013739)
Unhandled   
2011-02-27 04:54   
Note that Mantis has interpreted the HTML line breaks in my 'Steps to Reproduce' so that there are literal line breaks displayed instead of HTML markup.
Refer to attached screen grab for obvious display of the problem.
(0013744)
Julian   
2011-02-27 10:27   
This has been fixed for en_GB strings some time ago.

Now i removed the <.br> tag for all languages.

Master: http://gitorious.org/testlink-ga/testlink-code/commit/b0a47bfda07604c65bc4d445d56b5ab371988cd2 [^]

Branch 1.9: http://gitorious.org/testlink-ga/testlink-code/commit/d6b62045cd3ea04aa4ac7f8024d486e9ee946270 [^]
(0013745)
Julian   
2011-02-27 10:28   
Just as an addition hint:

Better use en_GB as this is always up-to-date (primary development language)
(0013946)
fman   
2011-03-18 19:08   
release - 1.9.2 - 20110320