Project

General

Profile

Actions

Bug #5094

closed

reports do not display matrix or xml token data

Added by Daniel Crawl over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
reporting
Target version:
Start date:
07/14/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5094

Description

Reports do not display the contents of matrix tokens. I'm attaching an example kar.


Files

matrix-reporting2.kar (5.78 KB) matrix-reporting2.kar Daniel Crawl, 07/14/2010 11:31 AM
xml-reporting.kar (7.64 KB) xml-reporting.kar Daniel Crawl, 07/14/2010 05:28 PM
Actions #3

Updated by Derik Barseghian over 14 years ago

A simple fix is to add:

if (token instanceof MatrixToken) {
value = String.valueOf( ((MatrixToken)token).toString());
}
if (token instanceof XMLToken) {
value = String.valueOf( ((XMLToken)token).toString());
}

to TokenUtil's getStringValue(Token token).
But maybe this isn't a nice enough formatting for the reporting 2.0 release?

Actions #4

Updated by Daniel Crawl over 14 years ago

For the xml case, JDOM's XMLOutputter could be used to format the xml string.

Actions #5

Updated by Derik Barseghian over 14 years ago

Should be fixed in 2.0 at r25111.
Leaving open for testing and until checked into trunk.

Actions #6

Updated by Derik Barseghian over 14 years ago

I checked this fix into trunk at r25112

Actions #7

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5094

Actions

Also available in: Atom PDF