Bug #16992
closedUnable to create a new filter for a role
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.
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
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.
Updated by Dominic Cleal over 7 years ago
- Status changed from Closed to Rejected