rubyforgood / casa

Volunteer management system for nonprofit CASA, which serves foster youth in counties across America.
https://casavolunteertracking.org/
MIT License
304 stars 472 forks source link

NoMethodError in rails/mailers#preview #3211

Closed compwron closed 4 months ago

compwron commented 2 years ago

Error in casa

NoMethodError in rails/mailers#preview undefined method `role' for nil:NilClass

if user.role != "All Casa Admin" ^^^^^

View on Bugsnag

Stacktrace

config/initializers/sent_email_event.rb:4 - block in <top (required)>

View full stacktrace

Created by Linda via Bugsnag

github-actions[bot] commented 2 years ago

This issue has been open without changes for a long time! What's up?

MrBowmanXD commented 1 year ago

is there a way to view full stacktrace or to reproduce this issue? There's a 404 error when trying to access bugsnap.

rcresswell commented 1 year ago

It looks like this was fixed in this commit.

image