Summary: | Implementation of HSSFCell#getRichStringCellValue() does not match its contract | ||
---|---|---|---|
Product: | POI | Reporter: | Grzegorz Bloch <gtb-bugs.apache> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.2-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | failing test for HSSFCell#getRichStringCellValue() |
Created attachment 24244 [details] failing test for HSSFCell#getRichStringCellValue() The contract of HSSFCell#getRichStringCellValue() specifies that "For formulaCells that are not string Formulas, we return empty String". What actually happens is that for numeric formula an IllegalArgumentException is thrown. (See attached test).