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

0.21.9 release candidate #1257

Merged
merged 26 commits into from Jan 23, 2020
Merged

Conversation

pierre
Copy link
Member

@pierre pierre commented Jan 14, 2020

No description provided.

sbrossie and others added 24 commits October 1, 2019 12:11
This tests a scenario where we move from monthly -> annual with a pause in the middle.
The test partially fails as it should regenerate nothing and instead regenerates 2 canceling items (net is $0).
The change introduced in beca83b#diff-6bbd5e696930ee20c12f24087244c833R234
is actually correct, i.e the recurring billing associated with an event marking cancelation or pause should be set to `NO_BILLING_PERIOD`.

However, our invoicing code contains another bug where we keep adding future notifications for canceled subscriptions. Prior this change,
this was not visible as the notification was set in the future but with the change from commit beca83b, the notification becomes in the past
and what was previously an unused future notification now leads to infinite loops.

The fix is to remove future notifications when there is nothing to invoice in the future.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
@pierre pierre requested a review from sbrossie January 14, 2020 15:42
@pierre pierre merged commit 87ea92a into work-for-release-0.21.x Jan 23, 2020
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.

None yet

3 participants