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

Deleting Sheet with Local Defined Name #2284

Merged
merged 2 commits into from
Sep 15, 2021
Merged

Conversation

oleibman
Copy link
Collaborator

@oleibman oleibman commented Sep 1, 2021

Fixes issue #2266. Writer/Xlsx fails when there is no longer a sheet which corresponds to the definition of a local defined name. The code is changed to drop such an orphaned name. Writer/Xls does not fail under the same cicrcumstances, so no correction is needed there. Writer/Ods fails in a different manner, and is corrected to no longer do so.

This is:

- [x] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

Fixes issue PHPOffice#2266. Writer/Xlsx fails when there is no longer a sheet which corresponds to the definition of a local defined name. The code is changed to drop such an orphaned name. Writer/Xls does not fail under the same cicrcumstances, so no correction is needed there. Writer/Ods fails in a different manner, and is corrected to no longer do so.
@oleibman oleibman merged commit 4dd5c06 into PHPOffice:master Sep 15, 2021
@oleibman oleibman deleted the issue2266 branch November 18, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant