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
[AC-2403] Don't subtract grace period from expiration date when license is in trial #3991
[AC-2403] Don't subtract grace period from expiration date when license is in trial #3991
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3991 +/- ##
=======================================
Coverage 37.68% 37.68%
=======================================
Files 1187 1187
Lines 57732 57732
Branches 5533 5533
=======================================
Hits 21758 21758
Misses 34958 34958
Partials 1016 1016 ☔ View full report in Codecov by Sentry. |
New Issues
Fixed Issues
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now the helper text is inaccurate - it says "after your subscription expires, you have 60 days to apply an updated license file", but the grace period ends on the same day as the subscription expiration.
Do trial users get a grace period? If so, it looks like further changes are required to make this work. If not, I assume the helper text should be hidden or updated.
Hi @eliykat, thanks for catching that and apologies - that was sloppy. I missed that helper text. I spoke with Product & CS and they confirmed that a subscription in Trial does not get a grace period. As such, I hid the helper text in an associated |
No problem at all - the client-side fix looks good. |
Type of change
Objective
This PR fixes a bug where, in the
OrganizationSubscriptionResponse
for self-hosted, the expiration date for a subscription in trial was having the grace period deducted from it when it never had it appended on the cloud side in the first place. This resulted in the appearance that the trial expiration was almost 2 months in the past for self-hosted users.