Bug #14636
closed
Unable to search puppet classes with long names
Added by Luke Simmons almost 9 years ago.
Updated over 6 years ago.
Description
It's a common feature to have a rather sprawling profile class in Puppet. The Puppet class names are truncated in Foreman for visibility in the web interface. This is fine IMHO. The tooltip displays the long name, but you cannot filter the results by the actual class name. The only thing getting filtered is the HTML display name.
For example, I can find profile::foo::bar::pants by searching profile, foo, bar or pants, but I cannot search for profile::foo::bar::authorisation::pants. Pants in the last example will not filter. The JavaScript in the filter is entirely HTML based searching only the display names. Shouldn't this be a direct ajax SQL call in the filter? Or at least configurable?
Files
- Related to Bug #5733: Puppet class names get shortened added
Hello,
I could not manage to reproduce this.
Searching for a class with a very long name that is truncated works just fine for me - see attached screenshot.
Please provide more information on how to reproduce this.
- Status changed from Need more information to New
Tomer, my reading is that this is the inline search box on the host edit page, Puppet Classes tab, under Available Classes. I can confirm the bug report.
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
Thanks for the clarification Dominic. I found the cause of this bug.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3428 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 141
- Has duplicate Bug #2956: Autocompletion failure when adding class to host added
Also available in: Atom
PDF