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 2008/04/03 06:54:10 UTC

DO NOT REPLY [Bug 44741] New: HSSFWorkbook can't return sheet name in 3.0. 2-FINAL-20080204.jar

https://issues.apache.org/bugzilla/show_bug.cgi?id=44741

           Summary: HSSFWorkbook can't return sheet name in 3.0.2-FINAL-
                    20080204.jar
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: xli1994@hotmail.com


I just downloaded poi-3.0.2-FINAL-20080204.jar and made a test with a xls file:
getSheetName()of HSSFWorkbook doesn't return correct sheet name, instead, it
returns "sheet1", "sheet2"...
Another issue is getSheetAt(index) only works for index=0.

Trying to debug it, I downloaded source file (poi-3.0.2-beta2), and did the
same test, the issues mentioned above doesn't happen. So I guess something
wrong happened during project(jar) build. Probably you need a re-build for the
jar.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44741] HSSFWorkbook can't return sheet name in 3.0. 2-FINAL-20080204.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44741


Josh Micich <jo...@gildedtree.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44741] HSSFWorkbook can't return sheet name in 3.0. 2-FINAL-20080204.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44741


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2008-04-03 01:58:56 PST ---
Could you please upload the problem file, so we can test?

Also, are you sure you only have one version of the poi jar in your classpath?
It sounds like you might have more than one, and that's confusing things.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 44741] HSSFWorkbook can't return sheet name in 3.0. 2-FINAL-20080204.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44741


Xiaosong Li <xl...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #2 from Xiaosong Li <xl...@hotmail.com>  2008-04-03 19:17:40 PST ---
I found the problem: I modified xls file, but didn't put in right place, so app
was still using old file (with sheet name=sheet1). Sorry, my bad. You may close
it.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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