Skip to content

Make sure import job can handle archivePeriodDays missing from config#457

Merged
vukilelanga merged 1 commit into
stagingfrom
453-handle-missing-archive-config-value
Jul 20, 2026
Merged

Make sure import job can handle archivePeriodDays missing from config#457
vukilelanga merged 1 commit into
stagingfrom
453-handle-missing-archive-config-value

Conversation

@yannisbarlas

Copy link
Copy Markdown
Collaborator

This addresses the first of two errors shown in #453.

The issue was that archivePeriodDays being undefined in the config passes the check Number.isNaN(archivePeriodDays) || archivePeriodDays < 1 (undefined is not NaN). This caused an invalid number to be parsed for the postgres query underneath that check, causing the final error shown in the issue.

@vukilelanga
vukilelanga merged commit 526a33e into staging Jul 20, 2026
12 checks passed
@vukilelanga
vukilelanga deleted the 453-handle-missing-archive-config-value branch July 20, 2026 13:31
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.

2 participants