jasonrogena / jasonrogena/php-excel-reader

Invalid rowcount / numrows

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
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. On some XLS files with multiple sheets, the rowcount is not valid
2. Read XLS file
3. Dump sheet 2

require_once 'excel_reader2.php';
$data = new Spreadsheet_Excel_Reader("example.xls");
echo $data->dump(true,true, 1);

What is the expected output? What do you see instead?
The attached file as 29 rows in the 2nd sheet, when read it 12579 rows are
found !

Please provide any additional information below.
Get attached XLS file as sample to reproduce
```

Original issue reported on code.google.com by `j...@comonsoft.com` on 20 Jul 2009 at 4:53

Attachments:
- [example.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-37/comment-0/example.xls)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem with the attached example.xls and the usage shown in excel_reader2.php, calling dump(true,true, 1) for the second sheet. Compare the reported row count with the expected 29 rows; the issue is complete when the second sheet reports the correct count.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.