Description of problem:
When user adds new interfaces to hosts and user will confirm this action with enter instead new interface confirmation the host update confirmation is done. This action is also causing additional bug where user is unable to continue with his work without refresh or url change, because screen is faded with gray color and no action is allowed.
Version-Release number of selected component (if applicable):
Sat 6.6 snap 24
Sat 6.7 snap 1
Steps to Reproduce:
1. Navigate through Host -> Edit host -> Interfaces -> Add Interface
2. Click with mouse to any field in Add interface menu ( e.g Device Identifier)
3. Press Enter on your keyboard (doesn't matter which enter)
Confirmation doesn't work for new interface submit, but for the host submit. Host is updated, but user is unable to continue the work, because screen is faded by gray color.
more concretely div element with class: modal-backdrop fade in
After user will hit the enter, only new interface should be added. And another enter should confirm host update.
Not sure why is allowed to add empty interfaces ( without any attributes ) to your hosts. But this is not connected with this bugzilla. I would just like to know the idea behind that.
We failed to reproduce this, it was most likely fixed in the meantime.
This is still an issue, we didn't reproduce properly.
Created redmine issue https://projects.theforeman.org/issues/32397 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32397 has been resolved.
Simple fix in upstream.
Steps from #comment 0 were reproduced.
Works as expected.
Enter now submit the interface page.
Verified with 6.10 snap 8 with foreman-2.5.1-1.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.