PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #1921

sheetname may not exceed 31 chars

Details

Submitted2004-07-20 10:43 UTC
Fromuntil-june-04 at daniu dot de
Assignedxnoguer
StatusClosed
PackageSpreadsheet_Excel_Writer
PHP Version4.3.6
OSWin2000
Roadmaps(Not assigned)

Comments

[2004-07-20 10:43 UTC] until-june-04 at daniu dot de

Description:
------------
Hi!

Just found out that the sheetname may not exceed 31 characters otherwise you do not get an object back from:
$worksheet =& $this->addWorksheet($this->sheetname);

I think this should go into documentation - drove me crazy ...

[2005-09-24 08:08 UTC] chris at spawnordie dot com

You should take a look at this:
http://pear.php.net/bugs/bug.php?id=3384

This problem ought to be addressed, but it appears that this class is not in active development.

[2005-11-08 03:32 UTC] xnoguer at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

I just removed the 31 chars restriction when working with BIFF8 (setVersion(8)). Also updated the docs so it says addWorksheet() may return a PEAR_Error for the time being.