Bug #5096
closedReporting on a RecordToken fails
0%
Description
I'm trying to report on a record token. I make a simple workflow with {{data = 1, timestamps = 2}} pasted in a Constant, and add Constant's output to my report design, but on execution get this error:
(Location of error unknown)org.apache.fop.fo.ValidationException: Error(Unknown location): fo:table-body is missing child elements.
Required Content Model: marker* (table-row+|table-cell+)
and a popup error.
I found someone w/ a similar error that garnered this response:
http://marc.info/?l=fop-user&m=120819139826155&w=2
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 ben leinfelder over 14 years ago
was this because I was assuming there was more than one value per label (ie an ArrayToken)?
Updated by Derik Barseghian over 14 years ago
Yeah, it was assumed that each value of a RecordToken's subtokens were ArrayTokens -- casted without checking.
Updated by Derik Barseghian over 14 years ago
I checked this fix into trunk at r25112