diff --git a/.last-branch b/.last-branch index 71635d1..db1f226 100644 --- a/.last-branch +++ b/.last-branch @@ -1 +1 @@ -v20260119-15-fix-migrations-autotask-phase2 +v20260119-16-fix-runchecks-render-modal diff --git a/containers/backupchecks/src/templates/main/run_checks.html b/containers/backupchecks/src/templates/main/run_checks.html index b06bd5b..93c94ba 100644 --- a/containers/backupchecks/src/templates/main/run_checks.html +++ b/containers/backupchecks/src/templates/main/run_checks.html @@ -975,7 +975,7 @@ table.addEventListener('change', function (e) { for (var i = 0; i < runs.length; i++) { if (String(runs[i].id) === String(keepRunId)) { idx = i; break; } } - renderModal(payload, idx); + renderRun(payload, idx); }); } }) @@ -984,7 +984,7 @@ table.addEventListener('change', function (e) { else alert(e.message || 'Failed.'); }) .finally(function () { - // State will be recalculated by renderModal/renderRun. + // State will be recalculated by renderRun. }); }); } diff --git a/docs/changelog.md b/docs/changelog.md index ff1a1da..b714e9c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -308,6 +308,22 @@ Changes: - Restored successful Gunicorn worker startup and backend application boot. - No functional or behavioural changes beyond resolving the syntax error. +## v20260119-15-fix-migrations-autotask-phase2 + +### Changes: +- Restored the missing `_get_table_columns()` helper function required by multiple database migrations. +- Fixed Autotask-related migrations that introduced the `resolved_origin` and Autotask job_run fields. +- Ensured all migrations run inside a safe transaction context so failures always trigger a rollback. +- Prevented database sessions from remaining in an aborted state after a failed migration. +- Resolved runtime database errors on the Run Checks page caused by earlier migration failures. + +## v20260119-16-fix-runchecks-render-modal + +### Changes: +- Fixed a JavaScript runtime error on the Run Checks page where `renderModal` was referenced but not defined. +- Replaced the obsolete `renderModal(...)` call with the correct Run Checks rendering function. +- Restored proper Run Checks page rendering without breaking existing ticket or modal behaviour. + *** ## v0.1.21