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 membershipEndsOn not updating when making Member external #421

Conversation

tomudding
Copy link
Member

Description

Original code was added in 0b26dfb to address an issue with the membership change, however, later in 9f75598 the + 2 / + 1 for the expiration were reverted to make all membership changes retroactive again. Unfortunately, the case for external was never changed to reflect this. As such, the membershipEndsOn was always in the past, while for external this is not allowed (should always be at the end of the current assocation year).

Related issues/external references

Fixes GH-420 and ABC-2407-095.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation improvement (no changes to code)
  • Other (please specify)

Original code was added in 0b26dfb to address an issue with the membership
change, however, later in 9f75598 the `+ 2` / `+ 1` for the expiration were
reverted to make all membership changes retroactive again. Unfortunately, the
case for `external` was never changed to reflect this. As such, the
`membershipEndsOn` was always in the past, while for `external` this is not
allowed (should always be at the end of the current assocation year).
@tomudding tomudding requested a review from rinkp July 5, 2024 17:18
Copy link
Member

@rinkp rinkp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think the external case is now treated correctly. I think the others behave as intended as well. Based on the transition matrix I could not think of situations which require other dates, so I retract my suggestion that we should offer the secretary a choice.

@tomudding tomudding merged commit d5e19a6 into GEWIS:main Jul 10, 2024
4 checks passed
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.

Making a Member external should use membershipEndsOn at the end of the current association year.
2 participants