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 2013/08/15 23:10:21 UTC

[Bug 55425] New: junitreport task generates JS without escaping new line chars

https://issues.apache.org/bugzilla/show_bug.cgi?id=55425

            Bug ID: 55425
           Summary: junitreport task generates JS without escaping new
                    line chars
           Product: Ant
           Version: 1.8.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: dzidzitop@vfemail.net

The following Ant task generates HTML files with embedded JS which string
literals get broken when there are new line characters in it:

        <junitreport todir="${test.report.dir}">
            <fileset dir="${test.report.dir}">
                <include name="TEST-*.xml"/>
            </fileset>
            <report todir="${test.report.dir}" format="frames"/>
        </junitreport>

A broken string looks as follows:

        cur['line.separator'] = '
';


This does not allow the user to see the JVM properties that were used for
running a test.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55425] junitreport task generates JS without escaping new line chars

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55425

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
   Target Milestone|---                         |1.8.3

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
fixed in 1.8.3 and later - note the current release is 1.9.2

*** This bug has been marked as a duplicate of bug 51049 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55425] junitreport task generates JS without escaping new line chars

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55425

dzidzitop@vfemail.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dzidzitop@vfemail.net

-- 
You are receiving this mail because:
You are the assignee for the bug.