Project

General

Profile

Actions

Bug #14636

closed

Unable to search puppet classes with long names

Added by Luke Simmons almost 8 years ago. Updated over 5 years ago.

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

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 issues 2 (0 open2 closed)

Related to Foreman - Bug #5733: Puppet class names get shortenedResolvedTomer Brisker05/15/2014Actions
Has duplicate Foreman - Bug #2956: Autocompletion failure when adding class to hostDuplicate08/22/2013Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #5733: Puppet class names get shortened added
Actions #2

Updated by Tomer Brisker almost 8 years ago

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.

Actions #3

Updated by Dominic Cleal almost 8 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.

Actions #4

Updated by Tomer Brisker almost 8 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.

Actions #5

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3428 added
Actions #6

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal almost 8 years ago

  • translation missing: en.field_release set to 141
Actions #8

Updated by Tomer Brisker over 6 years ago

  • Has duplicate Bug #2956: Autocompletion failure when adding class to host added
Actions

Also available in: Atom PDF