Actions
Bug #5094
closedreports do not display matrix or xml token data
Status:
Resolved
Priority:
Normal
Assignee:
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
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?
Updated by Daniel Crawl over 14 years ago
For the xml case, JDOM's XMLOutputter could be used to format the xml string.
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.
Updated by Derik Barseghian over 14 years ago
I checked this fix into trunk at r25112
Actions