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: don't list disabled suboccurrences #2118

Merged

Conversation

ml019
Copy link
Contributor

@ml019 ml019 commented Jul 17, 2023

Intent of Change

  • Bug fix (non-breaking change which fixes an issue)

Description

When generating an occurrence list, don't include sub-occurrences that are disabled. Any component processing should perform an equivalent check but at present the sub-occurrence still appears in the list.

Motivation and Context

The same doesn't happen to occurrences since the general flow logic completely excludes any occurrence that is disabled.
this fix ensures the behaviour is the same for occurrences or sub-occurrences.

How Has This Been Tested?

Local cli execution.

Related Changes

Prerequisite PRs:

  • None

Dependent PRs:

  • None

Consumer Actions:

  • None

When generating an occurrence list, don't include suboccurrences that
are disabled. Any component processing should perform an equivalent
check but at present the suboccurrence still appears in the list.

The same doesn't happen to occurrences since the general flow logic
completely excludes any occurrence that is disabled.
@ml019 ml019 requested a review from a team July 17, 2023 12:46
@roleyfoley roleyfoley merged commit 534fb61 into hamlet-io:master Jul 19, 2023
2 checks passed
@ml019 ml019 deleted the fix/ignore-disabled-suboccurrences branch July 20, 2023 04:05
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.

2 participants