Project

General

Profile

Bug #5096

Reporting on a RecordToken fails

Added by Derik Barseghian almost 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Bugzilla-Id:
5096

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 almost 9 years ago

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

#2 Updated by ben leinfelder almost 9 years ago

was this because I was assuming there was more than one value per label (ie an ArrayToken)?

#3 Updated by Derik Barseghian almost 9 years ago

Yeah, it was assumed that each value of a RecordToken's subtokens were ArrayTokens -- casted without checking.

#4 Updated by Derik Barseghian almost 9 years ago

I checked this fix into trunk at r25112

#5 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5096

Also available in: Atom PDF