-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Bug: Crash when an account is deleted #1967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jakubkottnauer are you able to reproduce this with a brand new account reliably? I can't get this to work on my end with the supplied repro steps: CleanShot.2025-03-11.at.10.30.12.mp4 |
@zachgoll yup, can consistently reproduce this. I've recorded a video: Kapture.2025-03-12.at.17.00.49.mp4 |
@jakubkottnauer I'm following those exact steps and not getting the error locally and in my fresh self hosted instance, which tells me that this has something to do with the data that is in your database. What does this return for you? SELECT DISTINCT accountable_type FROM accounts; I'd be looking for any NULL values (which would indicate the problem). |
@jakubkottnauer hmmm, that's interesting. It's almost as if As far as I'm aware, ActiveRecord already wraps |
Before you start (required)
General checklist
How are you using Maybe?
Self hoster checklist
Bug description
When you delete an account, Maybe crashes. Sentry stack trace attached below.
To Reproduce
Expected behavior
It should be possible to delete accounts without errors
Screenshots and/or recordings
The text was updated successfully, but these errors were encountered: