Empty Lists with Applied NumberFormat Throw ArgumentOutOfRangeException #51
Open
Description
If the formatter receives an empty result set to format, and the object's model has an ExcelColumn attribute applies using the NumberFormat property, the DefaultSerializer will throw an ArgumentOutOfRangeException with the message "Start cell Address must be less or equal to End cell address."
The expected result is an Excel file with only the header row.
Since XlsxDocumentBuilder.FormatColumn skips the header row by default, firstRow is 2 and RowCount is 1 since the list was empty and only the header row is output.
Metadata
Assignees
Labels
No labels