Project

General

Profile

Actions

Bug #37944

open

Content view environments controller returns CVEs in incorrect order

Added by Jeremy Lenz about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When I run

$ hammer content-view-environment list --activation-key-id 3
---|----------|-----------------------|--------------|---------|-------------|-----------------------|---------------------
ID | LABEL    | LIFECYCLE ENVIRONMENT | CONTENT VIEW | DEFAULT | HOSTS COUNT | ACTIVATION KEYS COUNT | ORGANIZATION        
---|----------|-----------------------|--------------|---------|-------------|-----------------------|---------------------
3  | lce1/cv1 | lce1                  | cv1          | false   | 0           | 1                     | Default Organization
5  | lce2/cv2 | lce2                  | cv2          | false   | 0           | 1                     | Default Organization
---|----------|-----------------------|--------------|---------|-------------|-----------------------|---------------------

this shows the incorrect order of CVEs for that activation key. It should instead be in the same order as listed on activation-key info:

$ hammer activation-key info --organization-id 1 --id 3
Name:                           ak3
Id:                             3
Host Limit:                     0 of Unlimited
Multi Content View Environment: yes
Content View Environments:      lce2/cv2,lce1/cv1

Actions

Also available in: Atom PDF