Actions
Bug #21556
closedTemplate with no interfaces does not show volumes
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