weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 0 forks source link

wrong club in certificate-pdf after changing club in 2022 season #151

Closed CarstenSon closed 2 years ago

CarstenSon commented 2 years ago

Describe the bug Badges for 2021 season are associated with the club the pilot is associated with in the 2022 season

To Reproduce Steps to reproduce the behavior:

  1. be in 2021 scoring with one club (e.g. Segelflug Aukrug)
  2. change club to different/new club (e.g. FC Oschatz) after the 2021 season
  3. download pdf file
  4. see "wrong" club on the certificate

Expected behavior the expected club in the certificate should be the one the pilot belonged to in the corresponding year of the certificate possibly you need a new DB which consists only of foreign keys: "season", "userid", "clubid" if it doesn't exist already

Screenshots n/a

Device (please complete the following information):

moldhouse commented 2 years ago

Thanks for the feedback. I'm afraid we can't fix this anymore, as the certificates were implemented and created slightly after the season switch.

CarstenSon commented 2 years ago

@moldhouse will you include it in later versions of WeGlide? That would be great - the current problem doesn't bother me that much honestly.

moldhouse commented 2 years ago

It is fully working, this is a one time problem for the 2021 season as the certificates (snapshot) of the ranking was created too late and we do not have old data about club affiliation. If you sent me an email, I will fix it for your certificates if needed.