You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/09/08 19:30:16 UTC
[Bug 56930] New: XSSFWorkbook ignores XSSFName's that have the same
name
https://issues.apache.org/bugzilla/show_bug.cgi?id=56930
Bug ID: 56930
Summary: XSSFWorkbook ignores XSSFName's that have the same
name
Product: POI
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: XSSF
Assignee: dev@poi.apache.org
Reporter: liad.matas@gmail.com
Created attachment 31976
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31976&action=edit
An example of getName error
Methods in XSSFWorkbook seem to ignore the fact that we can have several
XSSFName's with the same name in different scopes.
XSSFWorkbook.getName(String name), XSSFWorkbook.getNameIndex(String name),
XSSFWorkbook.removeName(String name), and possibly other methods are affected
by this.
In the attachment you can see that getName returns the 1st XSSFName it finds. A
better solution would be to return a collection of results.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org