Bug #11171
closed
Select2 does not work with compute profiles
Added by Marek Hulán over 9 years ago.
Updated over 6 years ago.
Description
In compute profile, when you add new interface or volume to a form, select box in this form does not work. Reproduced with 1.9-stable branch and nightly.
- Related to Bug #11172: Select2 should be initialized explicitly added
Whoever will fix this, I'd suggest considering IMHO a proper fix described in #11172
- Assignee set to Shlomi Zadok
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2575 added
- Pull request deleted (
)
I'd like to test this commit, but i can't find the application.js file in my foreman 1.9 RC2 installation, i don't even have an assets directory in the /usr/share/foreman/app directory.
Our packages ship a precompiled version of the Javascript and CSS files that are optimised, combined etc. You'd need to install foreman-assets, patch it, then run foreman-rake assets:precompile
.
I'd only suggest you do it on a test installation, as I'm not certain if doing a package upgrade after actually replaces your locally compiled assets with ours again.
Still no application.js file to patch after installing foreman-assets package
Hm, sorry, you're right. I thought we included that - I must be misremembering.
There probably isn't an easy way to test this then apart from using a development install (http://theforeman.org/contribute.html) or rebuilding the package with the patch applied.
Ok no time for this, i give up :) Will you commit this soon in 1.9 RC2, maybe RC3 ?
Yep, it'll be in 1.9.0 final for sure, or RC3, whichever comes next.
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Related to Bug #11721: Inconsistency with select2 on compute profile files added
Also available in: Atom
PDF