jasonrogena / jasonrogena/php-excel-reader
Worksheets not retrieved
Open
Nobody has claimed this yet.
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
What steps will reproduce the problem?
1.Read attached XLS file (which was saved as MS Excel 97/2000/XP (.xls) by
OpenOffice 3.3.0) with this php-excel-reader
2.Use something like this:
$data = new
Spreadsheet_Excel_Reader('backup_categories_products-autovisu-20110125-3.xls',fa
lse,"UTF-8");
var_dump( $data );
3.
What is the expected output? What do you see instead?
It should have found 5 worksheets and store them in $data->sheets as an array.
Instead, $data->sheets contains an empty array.
Please provide any additional information below.
The spreadsheet file can be read just fine both MS Office 2010 and OpenOffice
3.3.0. So I assume this is a valid XLS file, and there is a bug in
php-excel-reader.
Original issue reported on code.google.com by juergenn...@gmail.com on 25 Jan 2011 at 6:55
Attachments:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Spreadsheet_Excel_Reader entry point and reproduce the report using the attached backup_categories_products-autovisu-20110125-3.xls file. Inspect why reading this valid XLS leaves $data->sheets empty, then verify that the five worksheets are stored in that array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100