Project

General

Profile

Actions

Bug #6573

closed

Satellite6 should error when the user attempts to sort on a non-sortable field

Added by Adam Price almost 10 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1110431
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

  1. hammer activation-key list --organization-id=1 --by='name'
    ---|--------------|----------------|-----------------------|-------------
    ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
    ---|--------------|----------------|-----------------------|-------------
    8 | ak1234 | 0 of Unlimited | | cv1
    12 | ak12345678 | 0 of Unlimited | | cv1
    5 | actkey | 0 of Unlimited | DEV | cv1
    1 | actkey1 | 1 of Unlimited | DEV | cv1
    4 | test1 | 0 of Unlimited | |
    7 | ak123 | 0 of Unlimited | | cv1
    11 | ak1234567 | 0 of Unlimited | | cv1
    14 | ak1234567890 | 0 of Unlimited | | cv1
    6 | ak | 0 of Unlimited | | cv1
    9 | ak12345 | 0 of Unlimited | Library | cv1
    10 | ak123456 | 0 of Unlimited | | cv1
    13 | ak123456789 | 0 of 100 | | cv1
    ---|--------------|----------------|-----------------------|-------------
  1. hammer activation-key list --organization-id=1 --by='contentview'
    ---|--------------|----------------|-----------------------|-------------
    ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
    ---|--------------|----------------|-----------------------|-------------
    8 | ak1234 | 0 of Unlimited | | cv1
    12 | ak12345678 | 0 of Unlimited | | cv1
    5 | actkey | 0 of Unlimited | DEV | cv1
    1 | actkey1 | 1 of Unlimited | DEV | cv1
    4 | test1 | 0 of Unlimited | |
    7 | ak123 | 0 of Unlimited | | cv1
    11 | ak1234567 | 0 of Unlimited | | cv1
    14 | ak1234567890 | 0 of Unlimited | | cv1
    6 | ak | 0 of Unlimited | | cv1
    9 | ak12345 | 0 of Unlimited | Library | cv1
    10 | ak123456 | 0 of Unlimited | | cv1
    13 | ak123456789 | 0 of 100 | | cv1
    ---|--------------|----------------|-----------------------|-------------

Actual results:
Note that the above two results does not change

Expected results:
The --by attribute should sort the results on the given field

Additional info:
I also tried the following commands and the result was same:

#hammer activation-key list --organization-id=1 --by='NAME'
#hammer activation-key list --organization-id=1 --by='CONTENT VIEW'

Actions #1

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 49
  • Pull request https://github.com/Katello/katello/pull/4420 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms almost 10 years ago

  • Category set to API
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms over 9 years ago

  • Target version changed from 49 to 54
Actions #4

Updated by Anonymous over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Adam Price over 9 years ago

  • Status changed from Closed to Assigned
Actions #6

Updated by Eric Helms over 9 years ago

  • Target version deleted (54)
Actions #7

Updated by Eric Helms over 9 years ago

  • Status changed from Assigned to Closed
  • translation missing: en.field_release set to 14
Actions #8

Updated by John Mitsch over 7 years ago

  • Status changed from Closed to Assigned
  • translation missing: en.field_release changed from 14 to 114
  • Pull request deleted (https://github.com/Katello/katello/pull/4420)

This commit was reverted upstream, so this is still an issue, changing to assigned.

Actions #9

Updated by John Mitsch over 4 years ago

  • Status changed from Assigned to Rejected
  • Target version deleted (Katello Backlog)

Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.

Actions

Also available in: Atom PDF