MiniExcel
MiniExcel copied to clipboard
IgnoreTemplateParameterMissing is ignored for complex objects
Excel Type
- [X] XLSX
- [ ] XLSM
- [ ] CSV
- [ ] OTHER
Upload Excel File
MiniExcel Version
1.31.2
Description
MiniExcel can handle IgnoreTemplateParameterMissing for single template parameters but it is not handled complex objects when it is ignored
Say, I use {{data.p1}} and {{data.p2}} in xlsx template but do not set p2 in source data, then template rendering will fail with an error message that p2 is missing. The exception being thrown is KeyNotFoundException so IMO it is a bug rather than an intended behavior.