Skip to content

Comments

Fix "Notifications is invalid" error when editing workshop logs#1145

Merged
maebeale merged 2 commits intomainfrom
maebeale/fix-workshop-log-notifs
Feb 22, 2026
Merged

Fix "Notifications is invalid" error when editing workshop logs#1145
maebeale merged 2 commits intomainfrom
maebeale/fix-workshop-log-notifs

Conversation

@maebeale
Copy link
Collaborator

What is the goal of this PR and why is this important?

Remove broken after_save :create_notification callback from Report that created notifications with only notification_type, missing required kind, recipient_role, and recipient_email fields. Add autosave: false to the notifications association since notifications are created explicitly via NotificationServices::CreateNotification. Also remove commented-out duplicate pattern in users_controller.

maebeale and others added 2 commits February 21, 2026 19:19
Remove broken after_save :create_notification callback from Report that
created notifications with only notification_type, missing required kind,
recipient_role, and recipient_email fields. Add autosave: false to the
notifications association since notifications are created explicitly via
NotificationServices::CreateNotification. Also remove commented-out
duplicate pattern in users_controller.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@maebeale maebeale merged commit 1e198d9 into main Feb 22, 2026
3 checks passed
@maebeale maebeale deleted the maebeale/fix-workshop-log-notifs branch February 22, 2026 00:50
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.

Workshop Update validation error

1 participant