Project

General

Profile

Actions

Bug #15540

closed

Unable to remove repo content using repo name through hammer

Added by Andrew Kofink over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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

Unable to remove content from a custom repo using the repo name.

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

How reproducible:
Try to remove content repo content using repo name

Steps to Reproduce:
1. hammer repository remove-content --name test --content-ids 12345 --organization-id X
2. Same command works if name is substituted by the repository id
3. hammer repository remove-content --id Y --content-ids 12345 --organization-id X

Actual results:
Could not remove content:
Error: Unknown option name 'option_product_name'

Expected results:
Repository content removed

Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/415 added
Actions #2

Updated by Anonymous over 8 years ago

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

Updated by Andrew Kofink over 8 years ago

  • Assignee set to Andrew Kofink
Actions #4

Updated by Justin Sherrill over 8 years ago

  • Assignee deleted (Andrew Kofink)
  • Translation missing: en.field_release set to 143
Actions

Also available in: Atom PDF