Project

General

Profile

Actions

Bug #16992

closed

Unable to create a new filter for a role

Added by Brad Buckingham over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

With foreman (develop) and katello (master)tn, attempting to create a new filter generates the javascript error below. As a result, unable to create a new filter.

jquery.multi-select.self.js?body=1:7 Uncaught TypeError: $(...).multiSelect is not a function

Scenario:
1. Administer -> Roles
2. New role & submit
3. click 'Filters' for the new role
4. click 'New filter'

Observe the JS error on the browser.

Actions #1

Updated by Brad Buckingham over 7 years ago

  • Status changed from New to Closed

This appears to have been something that got corrupted on my dev environment with npm and webpack.

After the following, the error no longer exists:

sudo yum remove npm
add :webpack_dev_server: false to config/settings.yaml
sudo yum install npm
from foreman directory 'npm install'
rake webpack:compile
rails s

Actions #2

Updated by Marek Hulán over 7 years ago

I had the same issue recently, some js package was probably downloaded partially. OTOH it's strange that it was in the same library as you mention.

Actions #3

Updated by Dominic Cleal over 7 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF