Bug #5096
Reporting 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
History
#1 Updated by Derik Barseghian over 10 years ago
Should be fixed in 2.0 at r25111.
Leaving open for testing and until checked into trunk.
#2 Updated by ben leinfelder over 10 years ago
was this because I was assuming there was more than one value per label (ie an ArrayToken)?
#3 Updated by Derik Barseghian over 10 years ago
Yeah, it was assumed that each value of a RecordToken's subtokens were ArrayTokens -- casted without checking.
#4 Updated by Derik Barseghian over 10 years ago
I checked this fix into trunk at r25112
#5 Updated by Redmine Admin almost 8 years ago
Original Bugzilla ID was 5096