tehhowch / apps-script

A collection of files used by Google Apps Script to develop and serve data via Google Sheets
0 stars 0 forks source link

Improve SaveDB robustness #31

Closed tehhowch closed 2 years ago

tehhowch commented 3 years ago

For whatever reason (probably a rare issue with Apps Script failing to flush data and then finish writing new data), oldDataRows can end up as 0: https://github.com/tehhowch/apps-script/blob/b86b1b0d3f63bc95f2deb399050c08c0578ecea9/mhcc/mhcc/dbMHCC.js#L101-L108

The workaround fix is easy, but manual: add any content inside the table region.

tehhowch commented 2 years ago

Should be addressed by https://github.com/tehhowch/apps-script/commit/29c4ba8420d4ddf327cfd0307f72f7096241ee5d