Skip to content

fix: copy sheet-level read params to sheet holder - #1052

Open
nkuprins wants to merge 1 commit into
apache:mainfrom
nkuprins:fix/sheet-level-read-parameters
Open

fix: copy sheet-level read params to sheet holder#1052
nkuprins wants to merge 1 commit into
apache:mainfrom
nkuprins:fix/sheet-level-read-parameters

Conversation

@nkuprins

Copy link
Copy Markdown
Contributor

Closed: #1051

Purpose of the pull request

ReadSheet.copyBasicParameter copied 12 of the 15 read parameters - locale, useScientificFormat and filedCacheLocation were missing, so a value set after .sheet(...) was dropped and the workbook-level value was silently applied instead

What's changed?

This adds the three missing copies, so all three now behave like autoTrim, autoStrip, use1904windowing and headRowNumber, which were already copied.

Checklist

  • I have read the Contributor Guide.
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

locale, useScientificFormat and filedCacheLocation were not carried
from the parameter sheet to the actual sheet, so setting them on the
sheet builder silently fell back to the workbook-level value.
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.

[Bug] Sheet-level locale(), useScientificFormat() and filedCacheLocation() are silently ignored when reading

1 participant