You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/07/16 16:44:33 UTC

[Bug 62545] New: Don't use colon in JSON renderer to display indentation

https://bz.apache.org/bugzilla/show_bug.cgi?id=62545

            Bug ID: 62545
           Summary: Don't use colon in JSON renderer to display
                    indentation
           Product: JMeter
           Version: 4.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: felix.schumacher@internetallee.de
  Target Milestone: ---

Created attachment 36033
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36033&action=edit
remove the colon from the "tab" string

The RenderAsJSON component uses ":    " as indentation string for a "tab". This
makes the rendered JSON string an invalid JSON string.

It is better to use a string of four spaces to build the indentation as the
resulting string is then valid JSON.

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

[Bug 62545] Don't use colon in JSON renderer to display indentation

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |JMETER_4.1
         Resolution|---                         |FIXED

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Date: Mon Jul 16 16:48:21 2018
New Revision: 1836054

URL: http://svn.apache.org/viewvc?rev=1836054&view=rev
Log:
Don't use a colon as part of the "tab" string when indenting JSON in
RenderAsJSON.

Bugzilla Id: 62545

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java
    jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 62545] Don't use colon in JSON renderer to display indentation

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

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