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 with parent_key filtering #13957

Merged
merged 2 commits into from
May 5, 2023
Merged

Conversation

AlanCoding
Copy link
Member

SUMMARY

I introduced this bug with the merge of #13906, and it was unfortunately fairly high-consequence.

The "new" logic was just fine, but the problem is that the parent_key specification dropped us into the get_queryset of a subclass, which I... didn't expect.

This doubles-down on the refactor, and merges those two methods together. So far, it addresses the test case that was found to be failing.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@AlanCoding AlanCoding marked this pull request as ready for review May 5, 2023 17:41
@AlanCoding AlanCoding merged commit ba0e983 into ansible:devel May 5, 2023
14 checks passed
AlanCoding added a commit that referenced this pull request May 10, 2023
This was caused by an incorrect parent_key ref from label to job
  also applies to workflow_job labels

This fixes a regression introduced by a recent merge (#13957)
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.

None yet

2 participants