Bug 1277440 - pretty.print is printing object type instead of content
pretty.print is printing object type instead of content
Status: VERIFIED
Product: RHQ Project
Classification: Other
Component: CLI (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-03 05:23 EST by Filip Brychta
Modified: 2015-11-24 03:53 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
test script (637 bytes, text/plain)
2015-11-03 05:23 EST, Filip Brychta
no flags Details

  None (edit)
Description Filip Brychta 2015-11-03 05:23:56 EST
Created attachment 1088905 [details]
test script

Description of problem:
Fix for bz907897 (https://github.com/rhq-project/rhq/commit/70d9b363f5610fe17d33179afcb1dbc2c085638c) introduced new problem.
Attached script is producing following output:
Array of [Ljava.lang.String;
[Ljava.lang.String;@764d81b9
[Ljava.lang.String;@5a7fd55c
[Ljava.lang.String;@7e90b96e
[Ljava.lang.String;@4f7e25ac
[Ljava.lang.String;@62db67f9

before this commit the output looked like this:
id    name      version         currentAv resourceT
-------------------------------------------------------------------------------
10141 Agent Plu                 UP        Plugin Co
10143 RHQ Agent 4.12.0.JON330GA UP        Launcher 
10109 JVM       1.7.0_75        UP        RHQ Agent
10110 Agent Mea                 UP        Measureme
10142 rhq-agent 4.12.0.JON330GA UP        Environme
5 rows

Version-Release number of selected component (if applicable):
4.14.0-SNAPSHOT

How reproducible:
Always

Note You need to log in before you can comment on or make changes to this bug.