Project

General

Profile

Actions

Bug #6766

closed

hammer activation-key pagination failed

Added by Martin Bacovsky almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1109934
Description of problem:
hammer activation-key pagination failed

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

How reproducible:

Steps to Reproduce:
1. Create 10 different activation keys under ACME_Corporation

  1. hammer activation-key list --organization-label='ACME_Corporation' --page=1 --per-page=2
    ---|--------|----------------|-----------------------|-------------
    ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
    ---|--------|----------------|-----------------------|-------------
    5 | actkey | 0 of Unlimited | |
    8 | ak1234 | 0 of Unlimited | | cv1
    ---|--------|----------------|-----------------------|-------------
    List next page? (Y/n): Y
    Error: can't convert Fixnum into String
  1. hammer activation-key list --organization-label='ACME_Corporation' --page='1' --per-page='2'
    ---|--------|----------------|-----------------------|-------------
    ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW
    ---|--------|----------------|-----------------------|-------------
    5 | actkey | 0 of Unlimited | |
    8 | ak1234 | 0 of Unlimited | | cv1
    ---|--------|----------------|-----------------------|-------------
    List next page? (Y/n): y
    Error: can't convert Fixnum into String

Actual results:
Pagination failed

Expected results:
Pagination should work as expected

Additional info:

Actions #1

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.8.0
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/138 added
  • Pull request deleted ()
Actions #2

Updated by Anonymous over 9 years ago

  • Target version changed from 1.8.0 to 1.7.5
Actions #3

Updated by Anonymous over 9 years ago

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

Also available in: Atom PDF