Project

General

Profile

Actions

Bug #27903

closed

ui-spinner does not work when used for volume-templates in compute resource

Added by Markus Bucher about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When using byte_size_f or counter_f in volume-templates for dynamically adding volumes for compute-resources in host creation, the buttons of these elements do not work.

The reason for this is that a template-volume is created and the spinners are initialized.
When a new volume is created on the GUI, the template-volume form is copied as html-string and added to the page, which loses the event-handling.
Calling tfm.numFields.initAll() does not fix it.

Seen in foreman_fog_proxmox

Actions #1

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7057 added
Actions #2

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases 1.24.0 added
Actions #3

Updated by Markus Bucher about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker almost 5 years ago

  • Subject changed from ui-spinner does not work when used for volume-templates in compute resource to ui-spinner does not work when used for volume-templates in compute resource
Actions

Also available in: Atom PDF