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

[24.0] Fix submitted value in workflow run form if data is constrained by tag filter #18193

Merged

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented May 21, 2024

Fixes an issue reported by @abueg, where inputs in the workflow run form appear to be correctly filtered by the tag value, but upon submission the unfiltered default value is used. The included selenium test recapitulates this.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

mvdbeek added 3 commits May 22, 2024 15:14
Can be string or array
This now matched the filter in formattedOptions, so that upon first
rendering there's no discrepancy with currentValue.
@mvdbeek mvdbeek force-pushed the fix_tag_filter_workflow_run_form branch from 9a830db to ab2086d Compare May 22, 2024 13:15
@mvdbeek mvdbeek requested a review from guerler May 22, 2024 13:19
@jdavcs jdavcs removed this from the 24.1 milestone May 23, 2024
@mvdbeek
Copy link
Member Author

mvdbeek commented May 23, 2024

Deployed this on main and have confirmation this is working correctly. Let's merge this, since submitting wrong values (even if the tag filter is a rare case we should probably not have implemented) is kind of bad.

Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

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

👍

@mvdbeek mvdbeek merged commit 154aaa1 into galaxyproject:release_24.0 May 23, 2024
52 checks passed
@jdavcs jdavcs added this to the 24.1 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants