Bug #2628
If a VM specify a GRAPHIC section without TYPE, vms will not be loaded
Status: | Closed | Start date: | 01/13/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Sunstone | |||
Target version: | Release 4.6 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.4 |
Description
As the message says the problem is here:
https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/vms-tab.js#L3217
Do you have any VM with a GRAPHICS section defined but with no TYPE attribute?
You can fix it changing that line to:
if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" && $.inArray(state, VNCstates)!=-1){
Related issues
Associated revisions
bug #2628: If a VM specify a GRAPHIC section without TYPE, vms will not be loaded
History
#1
Updated by Daniel Molina over 7 years ago
- Assignee set to Daniel Molina
#2
Updated by Daniel Molina over 7 years ago
- Status changed from New to Closed
- Resolution set to fixed
#3
Updated by Javi Fontan over 7 years ago
- Duplicated by Bug #2728: Sunstone does not show VMs when one of them has malformed GRAPHICS section added