Project

General

Profile

Bug #21556

Template with no interfaces does not show volumes

Added by Ori Rabin almost 3 years ago. Updated over 2 years ago.

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

Description

Selecting a template with no interfaces causes a js error:

lookup_keys.self-a5e96456a9f46ded6862314596703cfa1f1473da8a612a645db28f0a83b14ebd.js?body=1:56 Uncaught TypeError: Cannot read property 'replace' of undefined
    at fix_template_names (lookup_keys.self-a5e96456a9f46ded6862314596703cfa1f1473da8a612a645db28f0a83b14ebd.js?body=1:56)
    at add_child_node (lookup_keys.self-a5e96456a9f46ded6862314596703cfa1f1473da8a612a645db28f0a83b14ebd.js?body=1:70)
    at addNetworkInterface (ovirt.js:48)
    at Object.<anonymous> (ovirt.js:21)
    at Function.each (jquery.js:365)
    at Object.success (ovirt.js:20)
    at fire (jquery.js:3187)
    at Object.fireWith [as resolveWith] (jquery.js:3317)
    at done (jquery.js:8757)
    at XMLHttpRequest.<anonymous> (jquery.js:9123)

As a result the rest of the js that is run when a template is selected never runs and the volumes are not displayed.

Associated revisions

Revision 9c9b7eb1 (diff)
Added by Ori Rabin almost 3 years ago

Fixes #21556 - Template with no interface shows volumes

History

#1 Updated by The Foreman Bot almost 3 years ago

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

#2 Updated by Ori Rabin almost 3 years ago

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

#3 Updated by Marek Hulán almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 296

Also available in: Atom PDF