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 scenario filter when active_by_default is false #462

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

soininen
Copy link
Collaborator

@soininen soininen commented Oct 28, 2024

This PR fixes parameter values leaking through scenario filter when the corresponding entities had active_by_default set to false but no entity alternative defined.

No associated issue.

Checklist before merging

  • Documentation (also in Toolbox repo) is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

Parameters values of entities that were filtered out by
active_by_default set to false were leaking through the scenario
filter due to an oversight in
_make_scenario_filtered_parameter_value_sq()
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.18%. Comparing base (d4c362e) to head (86a3d63).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #462   +/-   ##
=======================================
  Coverage   79.18%   79.18%           
=======================================
  Files          77       77           
  Lines       10107    10107           
  Branches     1510     1510           
=======================================
  Hits         8003     8003           
  Misses       1757     1757           
  Partials      347      347           

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

@soininen soininen merged commit 612b554 into master Oct 28, 2024
13 checks passed
@soininen soininen deleted the fix_active_by_default branch October 28, 2024 08:07
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.

1 participant