-
Notifications
You must be signed in to change notification settings - Fork 295
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
base: master
Are you sure you want to change the base?
Conversation
Looks like there is a issue then with the content view. Need to analyze. |
4720d27
to
f7a9241
Compare
Is this fixing the same issue as #11329 ? |
I don't mind any solution as long as it fixes the issue, doesn't introduce new ones and everyone is happy with the approach :) |
3568c9f
to
26c7b3d
Compare
app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js
Outdated
Show resolved
Hide resolved
Tests will fail (and thus merging is blocked) until #11120 is merged, probably early next week. |
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?
Unbind to the event and then bind new to prevent duplicate entries.
What are the testing steps for this pull request?
At all stages, the Lifcecycle Environment Selection should not have duplicate entries.