Project

General

Profile

Bug #25988

registry auto_complete not working

Added by Maria Agaphontzev almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

after this PR was merged https://github.com/theforeman/foreman/pull/6460
when opening /registries path

there is this error:

Showing /home/vagrant/foreman/app/views/common/_searchbar.html.erb where line #2 raised:

undefined method `auto_complete_search_registries_path' for #<#<Class:0x00007f67e53f2010>:0x00007f67e53ee938>
Did you mean?  auto_complete_search_filters_path
               auto_complete_search_subnets_path
               auto_complete_search_users_path
               auto_complete_search_usergroups_path
               auto_complete_search_realms_path
               auto_complete_search_settings_path
               auto_complete_search_roles_path
               auto_complete_search_environments_path
               auto_complete_search_parameters_path
               auto_complete_search_organizations_path
               auto_complete_search_media_path
               auto_complete_search_audits_path
               auto_complete_search_policies_path
               auto_complete_search_architectures_path
               auto_complete_search_smart_proxies_path
               auto_complete_search_hosts_path
               auto_complete_search_models_path
               auto_complete_search_ptables_path
               auto_complete_search_arf_reports_path
               auto_complete_search_hostgroups_path
               auto_complete_search_api_hosts_path
               auto_complete_search_domains_path
               auto_complete_search_locations_path
               auto_complete_search_http_proxies_path
               auto_complete_search_bookmarks_path
               auto_complete_search_fact_values_path
               auto_complete_search_lookup_keys_path
Extracted source (around line #5):
3
4
5
6
7
8

    id,
    controller: auto_complete_controller_name,
    url: send("auto_complete_search_#{auto_complete_controller_name}_path"),
    search_query: params[:search],
    use_bookmarks: true,
    use_key_shortcuts: true

Trace of template inclusion: app/views/layouts/_application_content.html.erb, app/views/layouts/application.html.erb

Associated revisions

Revision 401c0065 (diff)
Added by Ivan Necas over 2 years ago

Fixes #25988 - fix registries autocompletion (#215)

History

#1 Updated by Ivan Necas almost 3 years ago

  • Subject changed from change auto complete path broke registries path to registry auto_complete not working
  • Project changed from Katello to Docker

#2 Updated by Ivan Necas over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF