Modifying teachers in amending LessonEvents breaks CalendarAlarms #296

Open
opened 2025-12-30 22:51:35 +01:00 by yuha · 0 comments
yuha commented 2025-12-30 22:51:35 +01:00 (Migrated from edugit.org)

django.db.utils.IntegrityError: insert or update on table "core_notification" violates foreign key constraint "core_notification_calendar_alarm_id_70c855b1_fk_core_cale" DETAIL: Key (calendar_alarm_id)=(38) is not present in table "core_calendaralarm". 2025-12-30 22:50:05,273 ERROR celery.app.trace[780392]: Task aleksis.core.tasks.update_or_create_notifications_for_alarm[b86d5e16-37d0-4f31-9642-bc23a5e89837] raised unexpected: IntegrityError('insert or update on table "core_notification" violates foreign key constraint "core_notification_calendar_alarm_id_70c855b1_fk_core_cale"\nDETAIL: Key (calendar_alarm_id)=(39) is not present in table "core_calendaralarm".')

`django.db.utils.IntegrityError: insert or update on table "core_notification" violates foreign key constraint "core_notification_calendar_alarm_id_70c855b1_fk_core_cale" DETAIL: Key (calendar_alarm_id)=(38) is not present in table "core_calendaralarm". 2025-12-30 22:50:05,273 ERROR celery.app.trace[780392]: Task aleksis.core.tasks.update_or_create_notifications_for_alarm[b86d5e16-37d0-4f31-9642-bc23a5e89837] raised unexpected: IntegrityError('insert or update on table "core_notification" violates foreign key constraint "core_notification_calendar_alarm_id_70c855b1_fk_core_cale"\nDETAIL: Key (calendar_alarm_id)=(39) is not present in table "core_calendaralarm".')`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-Chronos#296
No description provided.