Summary: | [PATCH] POI wrongly reports a name for a cell formula that references a name | ||
---|---|---|---|
Product: | POI | Reporter: | Brice Copy <brice.copy> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | P3 | ||
Version: | 2.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
The excel file to reproduce the problem
Java test case to reproduce the problem Here's a patch to version 1.15 of NameRecord.java - in diff unified format |
Description
Brice Copy
2004-03-22 17:09:18 UTC
Created attachment 10908 [details]
The excel file to reproduce the problem
Created attachment 10909 [details]
Java test case to reproduce the problem
Created attachment 12353 [details]
Here's a patch to version 1.15 of NameRecord.java - in diff unified format
Avik, Since you're arround formulas, Care to have a look at this patch by Brice? There is also a testcase which should be translated into the unit tests. Jason Applied, thanks. But is this enuf? This patch applies some checks to prevent the exception, getReference now returns "#REF!" for these name records. Should there be any other api to access some of this info, or does POI already provide correct info? |