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

Fix bug where recurrence is not properly unset when not specified #81

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

Marenz
Copy link
Contributor

@Marenz Marenz commented Aug 29, 2024

No description provided.

@Marenz Marenz requested review from a team as code owners August 29, 2024 12:55
@Marenz Marenz added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Aug 29, 2024
@Marenz Marenz enabled auto-merge August 29, 2024 13:00
@llucax
Copy link
Contributor

llucax commented Aug 29, 2024

Try to rebase this to see if the labeler issue is resolved?

@@ -221,7 +221,7 @@ async def create(
active=active,
dry_run=dry_run,
payload=payload or {},
recurrence=recurrence or RecurrenceRule(),
recurrence=recurrence,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really necessary? If so could you explain why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The server (currently) expects a valid recurrence object, not a default-constructed one

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:dispatcher labels Aug 29, 2024
@Marenz Marenz added this pull request to the merge queue Aug 30, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 4ae5d7b Aug 30, 2024
14 checks passed
@Marenz Marenz deleted the no-recur-bug branch August 30, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd:skip-release-notes It is not necessary to update release notes for this PR part:dispatcher part:tests Affects the unit, integration and performance (benchmarks) tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants