Project

General

Profile

Actions

Bug #28383

closed

Editing a host group result in blank page

Added by Amir Fefer almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

How to reproduce:
1. Configure > Host Groups > edit one
2. a blank page will appear with the following error:

activation_key_edit-1c6afff60f50622e92fb5fbeb14c1a46c9364c43041f84e134f6b1fcec5c3ed0.js:141 Uncaught TypeError: $(...).autocomplete is not a function
    at HTMLDocument.<anonymous> (activation_key_edit-1c6afff60f50622e92fb5fbeb14c1a46c9364c43041f84e134f6b1fcec5c3ed0.js:141)
    at HTMLDocument.dispatch (jquery.js:4737)
    at HTMLDocument.elemData.handle (jquery.js:4549)
    at Object.trigger (jquery.js:7807)
    at HTMLDocument.<anonymous> (jquery.js:7875)
    at Function.each (jquery.js:365)
    at jQuery.fn.init.each (jquery.js:137)
    at jQuery.fn.init.trigger (jquery.js:7874)
    at application-f7c342f65592b753016c958c3e8b668fe8253ec7d42f503ae95268704b92fe4a.js:14782
    at HTMLDocument.<anonymous> (application-f7c342f65592b753016c958c3e8b668fe8253ec7d42f503ae95268704b92fe4a.js:30)

and it is triggered because autocomplete is not a function

$("#kt_activation_keys").autocomplete() // not a function

This happens due to a regression from #25205 - replace form autocomplete in filters
jquery.ui.autocomplete is removed while katello still uses it


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #25205: Replace AutoComplete in filters forms by React SearchBarClosedOndřej EzrActions
Actions #1

Updated by Amir Fefer almost 5 years ago

  • Related to Refactor #25205: Replace AutoComplete in filters forms by React SearchBar added
Actions #2

Updated by Tomer Brisker over 4 years ago

  • Project changed from Foreman to Katello
  • Category changed from Web Interface to Hosts
Actions #3

Updated by Samir Jha over 4 years ago

  • Target version set to Katello 3.15.0
  • Triaged changed from No to Yes
Actions #4

Updated by Jonathon Turel over 4 years ago

  • Status changed from New to Assigned
  • Assignee changed from Amir Fefer to Jonathon Turel
Actions #5

Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8541 added
Actions #6

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases Katello 3.16.0 added
Actions #7

Updated by Jonathon Turel over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF