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

Fixes #38264 - prevent duplicate entries #11334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbernhard
Copy link
Member

What are the changes introduced in this pull request?

Prevent to bind to the on ContentLoad multiple times which would lead to duplicate entries in the Lifecycle Environment Selection on the CreateHost page.

Considerations taken when implementing this change?

The window variable can be checked on loading the page if it does already exist

What are the testing steps for this pull request?

  • Use the create host page
  • Select the Hostgroup which uses ContentSource and all Katello related stuff
  • Unselect (x) the Content Source
  • Select the same Content Source
  • Try to pick another Hostgroup and Unselect/Select the Content Source for another test
    At all stages, the Lifcecycle Environment Selection should not have duplicate entries.

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.

1 participant