Foreman 3.14: Host creation is started when creating/editing a network interface

Problem:
When creating/editing a network interface and pressing ‘OK’, it somehow submits the whole host form and creates the host. The fade out panel from the interface popup then stays after an error.
Video example:

Expected outcome:
Pressing ‘OK’ on an interface popup should not submit the form and allow me to continue on the host form.

Foreman and Proxy versions:
3.14
Foreman and Proxy plugin versions:
fog-proxmox (0.15.1)
foreman_fog_proxmox (0.18.1)

Distribution and version:
AlmaLinux 9.5

Other relevant data:
Saw some jquery errors in the console.

Currently reproducing this issue, any thoughts on this @lstejska?

@MariaAga Looks like it’s related to the select2 changes

I opened Bridge select has duplicate id, causing issues while editing an interface · Issue #412 · theforeman/foreman_fog_proxmox · GitHub
With an explanation on why the bug is caused and a suggested fix

1 Like