Keine Benachrichtigung bei Stornierungsanfragen an Abteilungsleiter #4671
Labels
status: planned
This issue is planned in a milestone and won't be touched by stale bot.
type: bug
Something's wrong
Milestone
Describe the bug
Ein Abteilungsleiter bekommt trotz passenden Berechtigungen und Benachrichtigungseinstellungen keine E-Mail bei Stornierungsanfragen.
To Reproduce
Steps to reproduce the behavior:
analog zu chef und Freigabe-Verantwortlicher.
Expected behavior
Es kommt eine Mail für den DepartmentHead für die Stornierungsanfrage
Additional context
Hier wird nur auf
isValidWith(List.of(USER, DEPARTMENT_HEAD)
geprüft: https://github.com/urlaubsverwaltung/urlaubsverwaltung/blob/main/src/main/java/org/synyx/urlaubsverwaltung/mail/MailRecipientServiceImpl.java#L68Erwartet wäre aber
USER
,DEPARTMENT_HEAD
undAPPLICATION_CANCELLATION_REQUESTED
: https://github.com/urlaubsverwaltung/urlaubsverwaltung/blob/main/src/main/java/org/synyx/urlaubsverwaltung/person/MailNotification.java#L30The text was updated successfully, but these errors were encountered: