Project

General

Profile

Actions

Bug #34300

closed

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

Added by Ondřej Ezr over 2 years ago. Updated over 2 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 #1

Updated by Ondřej Ezr over 2 years ago

  • Related to Feature #33484: Add setting for redirecting to the new host details page added
Actions #2

Updated by Ondřej Ezr over 2 years ago

  • Priority changed from Normal to High
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Ezr
  • Pull request https://github.com/theforeman/foreman/pull/9047 added
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #5

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Triaged changed from No to Yes
  • Fixed in Releases 3.1.1 added
Actions #6

Updated by Ondřej Ezr over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Ondřej Ezr over 2 years ago

  • Related to Bug #34371: Host form redirect does not work for unmanaged host added
Actions #8

Updated by Ondřej Ezr about 2 years ago

  • Related to Bug #34572: The Submit button on a host form redirects to an invalid page added
Actions

Also available in: Atom PDF