poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49887] New: Inconsistent behaviour between HSSF and XSSF when creating a sheet with a too long name
Date Mon, 06 Sep 2010 18:51:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49887

           Summary: Inconsistent behaviour between HSSF and XSSF when
                    creating a sheet with a too long name
           Product: POI
           Version: 3.7-dev
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: martin.studer@mirai-solutions.com


workbook.createSheet(name) with a name of > 30 characters throws an exception
for XSSF workbooks (e.g. "sheetName 'A very very very very very very very very
long name' is invalid - must be 1-30 characters long") while for HSSF workbooks
createSheet just seems to truncate sheet names to 31 characters.

I would expect both XSSF and HSSF to throw an exception stating the correct
number of maximum allowed characters (31 ???).


POI: 3.7-build2
OS: Windows 7 64-bit
Java: 1.6.0_20 64-bit

-- 
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


Mime
View raw message