Project

General

Profile

Bug #14200

External user groups auth source dropdown menu doesn't open

Added by Dominic Cleal over 4 years ago. Updated almost 2 years ago.

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

Description

When editing a user group, the auth source dropdown menu when adding an external user group doesn't open.

1. Edit a user group
2. Go to the "External groups" tab
3. Click "Add external user group"
4. Try to click the "Auth source" dropdown menu

Similar to #14041 I think, where select2 is being initialised in the form template when it isn't visible and before it's copied to the new form, and it should only be initialised after the new set of form fields are added.


Related issues

Related to Foreman - Feature #10641: Ability to search VmWare networksClosed2015-05-28
Related to Foreman - Bug #10911: Seletc2 fields do not work with nested fieldsClosed2015-06-23
Related to Foreman - Bug #11374: Can't change key type when creating a smart variableClosed2015-08-16
Blocks Foreman - Bug #14202: select2 missing from interface/NIC compute resource dropdown menusClosed2016-03-15

Associated revisions

Revision 10c98a9a (diff)
Added by Dominic Cleal over 4 years ago

fixes #14200 - exclude form templates from select2 initialisation

Form templates shouldn't be initialised with select2, as the elements
are copied through add_child_node, e.g. when adding a new external user
group inside the user group form. add_child_node calls select2 after
copying the form instead.

History

#1 Updated by Dominic Cleal over 4 years ago

#2 Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3325 added

#3 Updated by Dominic Cleal over 4 years ago

I think #10911 fixed this originally, then #11374 broke it (only keeping it working in smart variables) as the destroy was removed. I hope this fix is more persistent as it doesn't depend on destroying them when creating the new child form.

#4 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #10911: Seletc2 fields do not work with nested fields added

#5 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #11374: Can't change key type when creating a smart variable added

#6 Updated by Dominic Cleal over 4 years ago

  • Blocks Bug #14202: select2 missing from interface/NIC compute resource dropdown menus added

#7 Updated by Dominic Cleal over 4 years ago

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

#8 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 141

#9 Updated by Daniel Lobato Garcia over 4 years ago

  • Bugzilla link set to 1319158

Also available in: Atom PDF