Skip to content

Conversation

@manticore-projects
Copy link

Warn about trimmed sheet names
Throw exception when trimmed sheetname collides with existing sheet
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Warn about trimmed sheet names
Throw exception when trimmed sheetname collides with existing sheet
Implement sheetname trimming for HSSFWorkbook
Add use case tests
@centic9
Copy link
Member

centic9 commented Nov 7, 2021

Applied most of the changes, however throwing an Exception was not necessary as both HSSF and XSSF already validate for existing sheetnames with taking the max-length into account properly.

@manticore-projects
Copy link
Author

Awesome! Thank you for looking into this and giving feedback.
Cheers!

snsinahub pushed a commit to snsinahub-org/poi that referenced this pull request Feb 28, 2023
Define Constant MAX_SENSITIVE_SHEET_NAME_LEN = 31
Warn about trimmed sheet names
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Closes apache#273

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894817 13f79535-47bb-0310-9956-ffa450edef68
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