Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Range Issue in v1.3 #545

Closed
SimonJan opened this issue Jun 11, 2018 · 4 comments
Closed

Validate Range Issue in v1.3 #545

SimonJan opened this issue Jun 11, 2018 · 4 comments

Comments

@SimonJan
Copy link

I see Fatal error: Uncaught exception 'PhpOffice\PhpSpreadsheet\Exception' with message 'Invalid range: "Z5:AA5"' in vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Coordinate.php:537

When I debug and see:
$startCol: "W"
$endCol: "Z"
$startCol >= $endCol => FALSE =>Right
→Called from ...Coordinate::validateRange()]
$startCol : "Z"
$endCol: "AB"
$startCol >= $endCol => TRUE =>Wrong
Can you recheck?
Thanks

@PowerKiKi
Copy link
Member

Please try develop branch and confirm that it fixes your problem

@dugwood
Copy link

dugwood commented Jun 12, 2018

@PowerKiKi can you push it to packagist? Easier to test :-) Thanks

@dugwood
Copy link

dugwood commented Jun 12, 2018

Oh, there's only one file to change. Works for me with your patch, thanks.

@PowerKiKi
Copy link
Member

Thanks for confirming, it's been released as 1.3.1

billblume pushed a commit to billblume/PhpSpreadsheet that referenced this issue Jun 13, 2018
Dfred pushed a commit to Dfred/PhpSpreadsheet that referenced this issue Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants