Skip to content

Clicking host hyperlink for puppetclass (under Puppet ENC -> Classes) returns "Field 'class' not recognized for searching!" #1167

@dotdotslashdotdot

Description

@dotdotslashdotdot

Might be related to closed issue outlined here: theforeman/foreman_puppet#363

We recently upgraded to Foreman version 3.9.1 and we are able to run searches with the "puppetclass" search string versus the old "class" string from version 3.2 (theforeman/foreman_puppet#364).

However, when attempting to use the "Hosts" filtering hyperlink under "Puppet ENC -> Classes", an error is thrown stating: "Field 'class' not recognized for searching!" and is not filtering a list of hosts based on that puppet class.

Steps to recreate:

1.) Navigate to Configure -> Puppet ENC -> Classes
2024-06-04 20_41_13-Puppet Classes - Brave

2.) Search for a puppet class in the listing that is attached to one or more hosts

3.) Click on the numerical number hyperlink for the "Hosts" column
2024-06-04 20_45_31-Puppet Classes - Brave

4.) Error should display after pages refreshes
2024-06-04 20_48_00-Hosts - Brave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions