Bug #14636
closedUnable to search puppet classes with long names
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
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #5733: Puppet class names get shortened added
Updated by Tomer Brisker almost 9 years ago
- File Screenshot from 2016-04-14 12-12-47.png Screenshot from 2016-04-14 12-12-47.png added
- Status changed from New to Need more information
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.
Updated by Dominic Cleal almost 9 years ago
- 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.
Updated by Tomer Brisker almost 9 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
Thanks for the clarification Dominic. I found the cause of this bug.
Updated by The Foreman Bot almost 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3428 added
Updated by Anonymous almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0aacf3304d8d36fcd4d593036bdc64d02cc3112b.
Updated by Dominic Cleal almost 9 years ago
- Translation missing: en.field_release set to 141
Updated by Tomer Brisker over 7 years ago
- Has duplicate Bug #2956: Autocompletion failure when adding class to host added