Bug #2628

If a VM specify a GRAPHIC section without TYPE, vms will not be loaded

Added by Daniel Molina about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:01/13/2014
Priority:NormalDue date:
Assignee:Daniel Molina% 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

Duplicated by Bug #2728: Sunstone does not show VMs when one of them has malformed... Closed 02/13/2014

Associated revisions

Revision 9913887f
Added by Daniel Molina about 6 years ago

bug #2628: If a VM specify a GRAPHIC section without TYPE, vms will not be loaded

History

#1 Updated by Daniel Molina about 6 years ago

  • Assignee set to Daniel Molina

#2 Updated by Daniel Molina about 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

#3 Updated by Javi Fontan about 6 years ago

  • Duplicated by Bug #2728: Sunstone does not show VMs when one of them has malformed GRAPHICS section added

Also available in: Atom PDF