Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004279TestLinkTest Specificationpublic2011-02-27 04:492011-03-18 19:08
ReporterUnhandled 
Assigned ToJulian 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.9.1 (bug fixing) 
Fixed in Version1.9.2 (2011 Q2 - bug fixing) 
Summary0004279: After copying test case user feedback at top of frame has encoded HTML
DescriptionAfter 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.
Steps To Reproducelocale/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.
TagsNo tags attached.
Database (MySQL,Postgres,etc)mysql Ver 14.14 Distrib 5.1.33
Browserfirefox, chrome
PHP Version5.2.9
TestCaseID
QA Team - Task Workflow Status
Attached Filespng file icon mantis.PNG [^] (16,036 bytes) 2011-02-27 04:49

- Relationships

-  Notes
(0013739)
Unhandled (reporter)
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 (reporter)
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 (reporter)
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 (administrator)
2011-03-18 19:08

release - 1.9.2 - 20110320

- Issue History
Date Modified Username Field Change
2011-02-27 04:49 Unhandled New Issue
2011-02-27 04:49 Unhandled File Added: mantis.PNG
2011-02-27 04:54 Unhandled Note Added: 0013739
2011-02-27 10:27 Julian Note Added: 0013744
2011-02-27 10:27 Julian Status new => resolved
2011-02-27 10:27 Julian Fixed in Version => 1.9.2 (2011 Q2 - bug fixing)
2011-02-27 10:27 Julian Resolution open => fixed
2011-02-27 10:27 Julian Assigned To => Julian
2011-02-27 10:28 Julian Note Added: 0013745
2011-03-18 19:08 fman Note Added: 0013946
2011-03-18 19:08 fman Status resolved => closed



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker