You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/11/27 11:58:01 UTC
[Bug 58661] New: [junitreport] junit-frames.xsl duplicates
characters in stack traces
https://bz.apache.org/bugzilla/show_bug.cgi?id=58661
Bug ID: 58661
Summary: [junitreport] junit-frames.xsl duplicates characters
in stack traces
Product: Ant
Version: 1.9.6
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
Assignee: notifications@ant.apache.org
Reporter: barney2k7@gmail.com
Ever since bug 57341 for junitreport has been fixed, stack trace formatting in
junit-frames.xsl is broken as some character are duplicated. For details, check
e.g. this bug report here:
https://github.com/ga4gh/compliance/issues/64
The problem seems to be in the 'br-replace' template that is off by one
character in some cases.
To fix this, and to get rid of all problems related to the 'br-replace', I
suggest updating the 'display-failures' template to use <pre> tags for
formatting, just as the comment in that template already suggests and to get
rid of 'br-replace'.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58661] [junitreport] junit-frames.xsl duplicates characters in
stack traces
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58661
--- Comment #1 from barney2k7@gmail.com ---
Created attachment 33303
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33303&action=edit
Proposed patch for junit-frames.xsl
The proposed patch uses <pre> to format stack traces. It fixes some more issues
with junit-frames.xsl, most notably it qualifies method names with the
corresponding test class if suite classes are used.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58661] [junitreport] junit-frames.xsl duplicates characters in
stack traces
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58661
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |1.9.8
--- Comment #3 from Stefan Bodewig <bo...@apache.org> ---
applied the PR, many thanks. In particular thank you for your persistence even
after a year of silence.
will be fixed in 1.9.8 and 1.10.0.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58661] [junitreport] junit-frames.xsl duplicates characters in
stack traces
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58661
--- Comment #2 from barney2k7@gmail.com ---
I created a pull request that - unlike the patch I attached here - solves just
the character duplication problem - nothing else.
https://github.com/apache/ant/pull/27
I hope this pull request has a better chance to actually be merged.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.