Bug #4217
closedReport Viewer - "nil" not rendering consistently/correctly
0%
Description
When outputting arrays of numbers and booleans that contain "nil" entries in R, they are not converted to NULL for use in Kepler/ptII
Related issues
Updated by ben leinfelder over 15 years ago
The PDF seems to render "nil" as "nil" whereas the AWT rendering (from Apache-FOP) sometimes shows a huge integer instead. I believe it's something to do with how the AWT is using components- maybe the column (int) is confused by this? Also seeing some "NaN" entries in a different column (double)
Updated by ben leinfelder over 15 years ago
After some digging, I'm going to conclude that this is being introduced by the "deep copy" serialization technique for creating a ReportInstance from a ReportLayout.
2147483647 = Integer.MAX_VALUE like IntToken.NIL
Updated by ben leinfelder over 15 years ago
added special handling when we have IntToken.NIL in the report instance
NEED TO COMMIT TO BRANCH
Updated by ben leinfelder over 15 years ago
This is also happening for DoubleTokens - but they show as NaN rather than nil - which I believe is acceptable.
BooleanTokens loose their nil-ness and become false which may be misleading in some situations - but typically it corresponds to rows where there are null data and you can infer that false is inconclusive. At any rate, we're stuck with that.