Project

General

Profile

Actions

Bug #18190

open

saving a host called "news.example.com" fails

Added by Tobias Knipping over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman-Version: 1.13.3, Debian Jessie 8.7, Installed via foreman-installer

I have a host called "news.example.com" when i click "Edit", it opens as usual "https://foreman.example.com/hosts/news.example.com/edit".
Clicking save renders an error: (from the logs)

2017-01-21T23:29:08 4ec4b48a [app] [I] Started PATCH "/hostss.example.com/edit" for 10.242.2.2 at 2017-01-21 23:29:08 +0100
2017-01-21T23:29:08 4ec4b48a [app] [F]
ActionController::RoutingError (No route matches [PATCH] "/hostss.example.com/edit"):
lib/middleware/tagged_logging.rb:18:in `call'

it seems, that there happens a string replace for "/new" (because of /hosts(..)s.example.com)

if you need any more Information, i am glad to help!


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #11761: Cloning of hostgroup redirects to host creationClosedMarek Hulán09/10/2015Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Related to Bug #11761: Cloning of hostgroup redirects to host creation added
Actions #2

Updated by Dominic Cleal over 7 years ago

  • Category set to Host creation

#11761 appears to have relaxed the regexp in submit_with_all_params(), it no longer has an end anchor.

Actions

Also available in: Atom PDF