Calendar remove future absence when deleting participant or editing the date#2079
Open
ali-ichk wants to merge 12 commits intoGibbonEdu:v31.0.00from
Conversation
… absence needs removed
… absence needs removed
…ant-or-editing-the-date' of https://github.com/ali-ichk/core into Calendar---remove-future-absence-when-deleting-participant-or-editing-the-date * 'Calendar---remove-future-absence-when-deleting-participant-or-editing-the-date' of https://github.com/ali-ichk/core: Calendar: remove future absence when deleting participant or editing the date If a student is removed from the participants list, just their future absence needs removed Calendar: If a whole event is deleted, all future absences attached to it are removed added gateway classes
…able and foreignTableID field to delete future absences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Currently, there are a few areas where an event can be changed but the future absences do not get cleaned up:
If the date of the event is changed, all future absences need removed (with a warning message letting the user know)
If a student is removed from the participants list, just their future absence needs removed
If the whole event is deleted, all future absences attached to it need removed