Project

General

Profile

Actions

Bug #11171

closed

Select2 does not work with compute profiles

Added by Marek Hulán over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 issues 3 (1 open2 closed)

Related to Foreman - Bug #11172: Select2 should be initialized explicitlyClosedTomer Brisker07/21/2015Actions
Related to Foreman - Feature #10641: Ability to search VmWare networksClosedShlomi Zadok05/28/2015Actions
Related to Foreman - Bug #11721: Inconsistency with select2 on compute profile filesNew09/08/2015Actions
Actions #1

Updated by Marek Hulán over 8 years ago

  • Related to Bug #11172: Select2 should be initialized explicitly added
Actions #2

Updated by Marek Hulán over 8 years ago

Whoever will fix this, I'd suggest considering IMHO a proper fix described in #11172

Actions #3

Updated by Dominic Cleal over 8 years ago

Actions #4

Updated by Shlomi Zadok over 8 years ago

  • Assignee set to Shlomi Zadok
Actions #5

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2575 added
  • Pull request deleted ()
Actions #6

Updated by Alexandre Barth over 8 years ago

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.

Actions #7

Updated by Dominic Cleal over 8 years ago

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.

Actions #8

Updated by Alexandre Barth over 8 years ago

Still no application.js file to patch after installing foreman-assets package

Actions #9

Updated by Dominic Cleal over 8 years ago

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.

Actions #10

Updated by Alexandre Barth over 8 years ago

Ok no time for this, i give up :) Will you commit this soon in 1.9 RC2, maybe RC3 ?

Actions #11

Updated by Dominic Cleal over 8 years ago

Yep, it'll be in 1.9.0 final for sure, or RC3, whichever comes next.

Actions #12

Updated by Shlomi Zadok over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #13

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #11721: Inconsistency with select2 on compute profile files added
Actions

Also available in: Atom PDF