Bug #5094
reports 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.
History
#3 Updated by Derik Barseghian over 9 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?
#4 Updated by Daniel Crawl over 9 years ago
For the xml case, JDOM's XMLOutputter could be used to format the xml string.
#5 Updated by Derik Barseghian over 9 years ago
Should be fixed in 2.0 at r25111.
Leaving open for testing and until checked into trunk.
#6 Updated by Derik Barseghian over 9 years ago
I checked this fix into trunk at r25112
#7 Updated by Redmine Admin over 6 years ago
Original Bugzilla ID was 5094