Project

General

Profile

Actions

Bug #34300

closed

Host form redirect relies on the primary interface being the first interface

Added by Ondřej Ezr about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Host creation
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

We have used wrong fetching mechanism for a host's fqdn in https://github.com/theforeman/foreman/blob/0d80e696c089ed7cb4eb3e2951302cd9f67ecd37/app/assets/javascripts/host_edit.js#L162

This relies on the fact, that primary interface defining domain is usually first, but on cases when this is not true, this check fails.


Related issues 3 (0 open3 closed)

Related to Foreman - Feature #33484: Add setting for redirecting to the new host details page ClosedAmir FeferActions
Related to Foreman - Bug #34371: Host form redirect does not work for unmanaged hostClosedOndřej EzrActions
Related to Foreman - Bug #34572: The Submit button on a host form redirects to an invalid pageClosedAmir FeferActions
Actions

Also available in: Atom PDF