Skip to content
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

Temp fix for missing accountables on self hosted instances #1071

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

zachgoll
Copy link
Collaborator

@zachgoll zachgoll commented Aug 9, 2024

Based on the current info, it appears #1068 is caused by self-hosted instances having corrupt data where the Account has an entryable_type and entryable_id populated, but the corresponding Entryable does not exist in the database.

This causes an error when Account delegates the value and series methods to the accountable.

Adding this fix so we can fix crashed instances, but would prefer to get a better long-term solution (and potential destructive migration) published when we identify the root cause of the issue.

@zachgoll zachgoll merged commit c0908f4 into main Aug 9, 2024
4 checks passed
@zachgoll zachgoll deleted the zachgoll/temp-crash-fix-accountable-series branch August 9, 2024 17:31
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.

1 participant