Project

General

Profile

Bug #27903

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

Added by Markus Bucher 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Associated revisions

Revision f4cbc229 (diff)
Added by Markus Bucher 6 months ago

Fixes #27903 - Do not init template-form-elements

fixes problem with not initialized counter and byte-size input elements
within dynamically added volumes of compute-resources in host-create

History

#1 Updated by The Foreman Bot 7 months ago

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

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 1.24.0 added

#3 Updated by Markus Bucher 6 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 5 months 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

Also available in: Atom PDF