Skip to content

Conversation

r-uehara0219
Copy link

@r-uehara0219 r-uehara0219 commented Aug 5, 2024

Fixed a bug that unintended rows were retrieved when a value larger than sheets_max was specified for start_row.

bug details

When creating a spreadsheet with one row and two columns (see screenshot) and executing the plugin with start_row: 2 specified in config.yml, get_spreadsheet_values is executed for the range of A2:B1.
The A2:B1 range here is interpreted by the Google API in the same way as A1:B1, and [["ID", "value"] is obtained.

Similarly, if you create a spreadsheet with 3 rows and 2 columns (see screenshot) and run the plugin with start_row: 4 in config.yml, get_spreadsheet_values to the range of A4:B3 is executed and [["2", "second value"]] is obtained.

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.

1 participant