Project

General

Profile

Actions

Bug #3074

closed

Foreman GUI, bad search on clicking a Host's Hostgroup link, when using nested hostgroups

Added by Sean Alderman over 11 years ago. Updated over 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

From a Host Page, e.g. https://foreman/hosts/foo.example.com, when the user clicks on the hostgroup and the host group is nested, the linked URL follows this pattern:

https://foreman/hosts?search=hostgroup+%3D+<level1Group>%2F<level2Group>
https://foreman/hosts?search=hostgroup+%3D+<level1Group>%2F<level2Group>%2F<level3Group>

These searches always produce zero results, since the proper URL would be (respectively):

https://foreman/hosts?search=hostgroup+%3D+<level2Group>
https://foreman/hosts?search=hostgroup+%3D+<level3Group>

I'm not sure whether the proper solution is to fix the html rendered to the browser or change how the host group membership data is stored such that the existing search lingo would function as expected.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #3064: Links to hostgroups are not consistentClosedDaniel Lobato Garcia09/10/2013Actions
Actions #1

Updated by Dominic Cleal over 11 years ago

  • Is duplicate of Bug #3064: Links to hostgroups are not consistent added
Actions #2

Updated by Dominic Cleal over 11 years ago

  • Category set to Web Interface
  • Status changed from New to Duplicate

Thanks for the report, this will be fixed in 1.3 via #3064.

Actions

Also available in: Atom PDF