Project

General

Profile

Actions

Bug #21556

closed

Template with no interfaces does not show volumes

Added by Ori Rabin over 6 years ago. Updated over 5 years ago.

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

Actions #1

Updated by The Foreman Bot over 6 years ago

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

Updated by Ori Rabin over 6 years ago

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

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release set to 296
Actions

Also available in: Atom PDF