← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1518110] [NEW] Launch Instance Wizard - Security Groups Available table count not working

 

Public bug reported:

Angular Launch Instance Wizard > Security Group Step:

The Available table is acting strangely.  Please take a look at the
Available table in the attached screenshot.

Default Security Group is selected by default, but it is still showing
up in Available table, and also 'No available items' row.  So there are
2 rows.

Also, if I have more than one security group, the Available item count
is incorrect.  If I try to allocate multiple, they don't show up in the
Allocated table.  Opening up browser console shows me these errors:

Duplicates in a repeater are not allowed. Use 'track by' expression to
specify unique keys. Repeater: row in ctrl.tableData.displayedAllocated
track by row.id, Duplicate key: 1, Duplicate value:
{"description":"default","id":1,"name":"default","rules":[],"tenant_id":"485eee44635643f0a60fe38d4e0f9044","security_group_rules":[null]}

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "Screen Shot 2015-11-19 at 1.52.44 PM.png"
   https://bugs.launchpad.net/bugs/1518110/+attachment/4522318/+files/Screen%20Shot%202015-11-19%20at%201.52.44%20PM.png

** Summary changed:

- Launch Instance Wizard - Security Groups No Available msg
+ Launch Instance Wizard - Security Groups Available table count not working

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1518110

Title:
  Launch Instance Wizard - Security Groups Available table count not
  working

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Angular Launch Instance Wizard > Security Group Step:

  The Available table is acting strangely.  Please take a look at the
  Available table in the attached screenshot.

  Default Security Group is selected by default, but it is still showing
  up in Available table, and also 'No available items' row.  So there
  are 2 rows.

  Also, if I have more than one security group, the Available item count
  is incorrect.  If I try to allocate multiple, they don't show up in
  the Allocated table.  Opening up browser console shows me these
  errors:

  Duplicates in a repeater are not allowed. Use 'track by' expression to
  specify unique keys. Repeater: row in
  ctrl.tableData.displayedAllocated track by row.id, Duplicate key: 1,
  Duplicate value:
  {"description":"default","id":1,"name":"default","rules":[],"tenant_id":"485eee44635643f0a60fe38d4e0f9044","security_group_rules":[null]}

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1518110/+subscriptions


Follow ups