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

Updated membership "fails" for users with membership > 1 year old #1399

Closed
melwil opened this issue Jan 28, 2016 · 5 comments · Fixed by #2485
Closed

Updated membership "fails" for users with membership > 1 year old #1399

melwil opened this issue Jan 28, 2016 · 5 comments · Fixed by #2485
Labels
Easy good first issue Good issue to start with if this is your first time contributing Priority: Medium

Comments

@melwil
Copy link
Member

melwil commented Jan 28, 2016

Currrently the new expiration date for memberships is determined like this:

new_expiration_date = datetime.date(membership.expiration_date.year + 1, 9, 16)

Source: https://github.com/dotKom/onlineweb4/blob/develop/apps/approval/views.py#L86

If a user has membership that expired in 2014, they will get 2015 as the new date, which is still an expired date.

@melwil melwil added the bug label Jan 28, 2016
@OptimusCrime
Copy link
Member

Could the new date simply be the current year, or would that fuck something up?

@sklirg
Copy link
Member

sklirg commented Mar 2, 2016

Me updating my thingy August 2016:
New date:
Septembre 2016.
So yes, it would.

@sklirg
Copy link
Member

sklirg commented Apr 27, 2016

Fixed in #1513

@sklirg sklirg closed this as completed Apr 27, 2016
@OptimusCrime
Copy link
Member

OptimusCrime commented Nov 2, 2016

Still happens. User had bachelor degree 2012 - 2015, and extended their membership. Membership expiration date was sat to september 2016. Had to send a new request to set the date to 2017.

@OptimusCrime OptimusCrime reopened this Nov 2, 2016
@sklirg sklirg modified the milestone: Studiestart 2017 May 10, 2017
@kharann kharann added the good first issue Good issue to start with if this is your first time contributing label Aug 28, 2019
@plusk
Copy link
Member

plusk commented Sep 3, 2019

Me and @oleast took a quick gander at this one, and we think it should just be changing this check to instead go based on 1st of July.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy good first issue Good issue to start with if this is your first time contributing Priority: Medium
Projects
No open projects
Status: Easy fix
Development

Successfully merging a pull request may close this issue.

6 participants