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

Clear PatronData.authorization_expires if it is no longer set #2147

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

jonathangreen
Copy link
Member

Description

If a ILS once reported that a patron has an expiry, but stops reporting that date, currently we don't clear the previous information. This change will let us clear that info, so patrons don't get stuck with an expired card that the ILS cannot clear.

Motivation and Context

Probably the issue in: https://ebce-lyrasis.atlassian.net/browse/SUP-232

How Has This Been Tested?

  • Tests in CI

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@jonathangreen jonathangreen added the bug Something isn't working label Oct 31, 2024
@jonathangreen jonathangreen requested a review from a team October 31, 2024 16:55
@jonathangreen jonathangreen force-pushed the bugfix/patron-authorization-expires branch from 120ee02 to 1d1f996 Compare October 31, 2024 16:55
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

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

🎉

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.77%. Comparing base (2377294) to head (1d1f996).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2147   +/-   ##
=======================================
  Coverage   90.77%   90.77%           
=======================================
  Files         350      350           
  Lines       40607    40607           
  Branches     8796     8796           
=======================================
  Hits        36863    36863           
  Misses       2439     2439           
  Partials     1305     1305           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jonathangreen jonathangreen merged commit 7457a46 into main Oct 31, 2024
21 checks passed
@jonathangreen jonathangreen deleted the bugfix/patron-authorization-expires branch October 31, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants