full-path / ridesheet

Google apps script support for a Google Sheets-based demand-responsive trip scheduling and reporting system.
MIT License
5 stars 4 forks source link

applySheetFormatsAndValidation is choking on new types of validation rules stored in defaultColumns #84

Closed keviniano closed 10 months ago

keviniano commented 10 months ago

defaultColumns now has new types of validation, such as VALUE_IN_LIST. applySheetFormatsAndValidation does not have the logic to apply all types. This is breaking moveTripsToReview. Similar ability has been added to getValidationRuleFromMetadata. Refactoring needed so that adding validation is handled in one place only.