Skip to content

Commit

Permalink
Cross Tab report generates corrupted xlsx file cuba-platform/reports#239
Browse files Browse the repository at this point in the history


(cherry picked from commit 69d8bab)
  • Loading branch information
NikitaShchienko committed Jan 29, 2020
1 parent 3d33b5d commit 4eb6ea1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ protected List<BandData> traverseData(ExtractionContext context, List<Map<String
return horizontal;
}).collect(Collectors.toList());

if (verticalData.isEmpty()) {
verticalData.add(wrapData(context, null));
}

return Stream.concat(Stream.of(header), verticalData.stream()).collect(Collectors.toList());
}

Expand Down

0 comments on commit 4eb6ea1

Please sign in to comment.