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

Fix crash SpendenbescheinigungEmailAction #228

Merged

Conversation

JohannMaierhofer
Copy link

@JohannMaierhofer JohannMaierhofer commented May 21, 2024

Beim Spendenbescheinigung Kontextmenü "E-Mail an Spender" kommt es zu einer Exception mit Main Loop Crash wenn der Spendenbescheinigung kein Mitglied zugeordnet ist.
Das liegt daran, dass nach dem ersten Check nicht beendet wird sondern weiter gemacht wird. Dann kommt es anschließend zur Exception weil member null ist.
Mit return im ersten if würde man nie die zweite Ausgabe machen weil diese schon im ersten if mit geprüft wird. Darum habe ich auch das erste if abgeändert.

@dippeal dippeal added the fix This will fix a bug label May 22, 2024
@willuhn willuhn merged commit 555b200 into openjverein:master May 29, 2024
@JohannMaierhofer JohannMaierhofer deleted the fix_spendenbescheinigungemail branch May 30, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix This will fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants