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
ROLES: Error-Handling künftige/inaktive Rollen #2255
Labels
Comments
mtnstar
changed the title
ROLES: Fehlerhafte Künftige Rollen, Gelöschte Rollen markieren
ROLES: Error-Handling künftige/inaktive Rollen
Nov 15, 2023
amaierhofer
added a commit
that referenced
this issue
Nov 15, 2023
amaierhofer
added a commit
that referenced
this issue
Nov 16, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
amaierhofer
added a commit
that referenced
this issue
Nov 16, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
amaierhofer
added a commit
that referenced
this issue
Nov 16, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
amaierhofer
added a commit
that referenced
this issue
Nov 20, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
3 tasks
6 tasks
TheWalkingLeek
pushed a commit
that referenced
this issue
Nov 27, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
TheWalkingLeek
pushed a commit
that referenced
this issue
Nov 28, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
amaierhofer
added a commit
that referenced
this issue
Nov 29, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
amaierhofer
added a commit
that referenced
this issue
Nov 29, 2023
- highlight oudated roles on person page - flash message when editing outdated roles - consistent error handling across jobs refs #2255
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mit #2237 haben wir neu Rollen mit Von-Datum in der Zukunft. Seit längerem gibt es auch die Möglichkeit Rollen so zu konfigurieren, das sie an einem Datum in der Zukunft terminiert werden.
Für beide Szenarien kommt ein DelayedJob zum Einsatz welcher die Rolle entweder am Stichdatum löscht (bis Datum der Rolle) oder ein anderer Job der die Rolle dann erstellt (FutureRole)
Bei beiden Vorgängen kann theoretisch einiges schief gehen sodass wir inkonsistente Daten haben:
Gewünschtes Verhalten
Mockups
1. Rolle mit Bis-Datum heute oder in der Vergangenheit:
Beim Versuch die Rolle zu Speichern würde ein allfälliger Fehler als Flash-Message angezeigt
2. FutureRole mit Von-Datum heute oder in der Vergangenheit
Tech-Spec
Fall 1 - outdated FutureRole:
Fall 2 - outdated active Role:
https://fontawesome.com/v5/icons/exclamation-triangle?f=classic&s=solid
DelayedJobs
ToDo
The text was updated successfully, but these errors were encountered: