Bug 997364 - CLI changeset info command with dependencies parameter shows error
Summary: CLI changeset info command with dependencies parameter shows error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-15 09:45 UTC by Ales Dujicek
Modified: 2014-03-18 17:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:37:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ales Dujicek 2013-08-15 09:45:32 UTC
Description of problem:

CLI command changeset info with --dependencies flag shows error:

> changeset info --org org --name cs1 --dependencies --environment env
undefined method `calc_dependencies' for #<PromotionChangeset:0x0000000827c998>


Version-Release number of selected component (if applicable):
katello-glue-elasticsearch-1.4.3-1.git.185.3c12e3d.el6.noarch
katello-glue-pulp-1.4.3-1.git.185.3c12e3d.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-repos-1.4.2-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-1.4.3-1.git.7.a387813.el6.noarch
katello-certs-tools-1.4.2-1.el6.noarch
katello-configure-1.4.4-1.git.2.ce427c5.el6.noarch
katello-glue-candlepin-1.4.3-1.git.185.3c12e3d.el6.noarch
katello-all-1.4.3-1.git.185.3c12e3d.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-cli-common-1.4.3-1.git.7.a387813.el6.noarch
signo-katello-0.0.9-1.el6.noarch
katello-selinux-1.4.4-1.el6.noarch
katello-common-1.4.3-1.git.185.3c12e3d.el6.noarch
pulp-katello-plugins-0.2-1.el6.noarch
katello-1.4.3-1.git.185.3c12e3d.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. changeset create --org org --name cs1 --environment env
2. changeset info --org org --name cs1 --dependencies --environment env --dependencies

Actual results:
undefined method `calc_dependencies' for #<PromotionChangeset:0x00000009e868c8>

Expected results:


Additional info:

Comment 2 Justin Sherrill 2013-09-17 14:44:03 UTC
This option no longer actually has any value since you can no longer add packages to a changeset (and so a changeset can no longer have dependencies).

Removing that option here:

https://github.com/Katello/katello-cli/pull/89

Comment 3 Mike McCune 2014-03-18 17:37:41 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


Note You need to log in before you can comment on or make changes to this bug.