Skip to content

Fix problems caused by case of worksheet names #1065

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

Merged
merged 2 commits into from
Jan 17, 2020
Merged

Fix problems caused by case of worksheet names #1065

merged 2 commits into from
Jan 17, 2020

Conversation

Alanscut
Copy link
Member

@Alanscut Alanscut commented Jan 2, 2020

Changes

1.The sheet name of the excel file created in the windows system is not case sensitive. But the workbook.addWorksheet () method does not do the corresponding processing, This PR fixes issues caused by case of sheet names.

2.fix for #1064

@Alanscut Alanscut closed this Jan 2, 2020
@Alanscut Alanscut reopened this Jan 2, 2020
@Siemienik
Copy link
Member

@Alanscut Is will still working when it will attempt to read file with two worksheets named: "name", "NAME" ?

@Alanscut
Copy link
Member Author

@Siemienik yes, it could. But when we create a file with two worksheets with the same names regardless of case, the file will report an error when opening it. So when we prevent creating such file, the case you mentioned will not exist.

@guyonroche
Copy link
Collaborator

@Alanscut - nice choice of 31 character sheet name in the spec file :-)

@guyonroche guyonroche merged commit 84717f8 into exceljs:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants